Class ErrorHandler

Summary


 Error handling object

Package:
(main)
File:
json.icn
Methods:
constr_msg, get_err, incr_line, init, set_err, write_err

Fields:
error, errout, filename, lineno, strict, tag

Source code.

Details
Constructor

ErrorHandler(errout, strict)

Methods:

constr_msg(s)


get_err()


 Write out (error), if it exists, to (errout)


incr_line()


init(filename)


set_err(s)


 Sets (error) using constr_msg()


write_err(s)


 Writes error (s) to file descriptor specified by errout.


Fields:
error

errout

filename

lineno

strict -- Flag to enforce strict JSON if not null

tag


This page produced by UniDoc on 2021/04/15 @ 23:59:53.