Habari\Error::handle_errors PHP Метод

handle_errors() публичный статический Метод

Configures the Error class to handle all errors.
public static handle_errors ( )
    public static function handle_errors()
    {
        set_error_handler(Method::create('\\Habari\\Error', 'error_handler'));
        set_exception_handler(Method::create('\\Habari\\Error', 'exception_handler'));
        register_shutdown_function(Method::create('\\Habari\\Error', 'shutdown_handler'));
    }