Hello,
Is it possible to override or use a different custom function to catch default exception ?
This function is not inside a class.
My concern is that the function fatal_error() (which is overridable) don't have all the $ex object, so I cannot test for the exception error code. I would like to use a different templating for each errorcode, which I cannot do inside default_exception_handler().
Is there a config option to thell which function to use for default exception, or some moodle documentation about exception somewhere ?