The error library is a central tool for handling error messages and properly logging them. You rarely need to use this library directly and should rely instead on the global zajlib object’s notice/warning/error methods.

Below are the methods available in addition to the notice(), warning(), error(), and deprecated() methods (which again, you should use via the zajlib object).


Set error reporting during a test.

boolean $errors_disabled_during_test If set to true, errors and warnings will not be displayed or logged.
@return boolean The previous errors_disabled_during_test value.


Returns the current error disable status.

@return boolean The current errors_disabled_during_test value.

Outlast Web & Mobile Development (c) 2018 | Privacy Policy |