Hi,
is there a way to configure framefork to automatically convert any errors/warnings/notices to an Exceptions? Or need we use old school PHP's method set_error_handler
to catch them and then manually convert to exception like this
set_error_handler(function($errno, $errstr, $errfile, $errline, $errcontext) {
// some processing, if any...
throw new Exception(...);
}, -1);
?
Thanks )