Hi all,
I am wondering if there's a way to do something like
$app->error([new \exceptions\ExceptionHandler(), 'handle']);
instead of
$app->error( function ($exception) { echo "An error has occurred"; } );
I would rather use a class than a closure, is it documented somewhere how can I use this in a Micro application?