Exceptions Monitoring
Catch a real-time diagnosis of your application's exceptions.
Manual reporting
try {
/*
* Your dangerous code here.
*/
} catch (\Exception $exception) {
// Report an exception intentionally to collect diagnostics data
$inspector->reportException($exception);
}Use PHP global handler
set_exception_handler(function (Throwable $exception) use ($inspector) {
// Other exception management tasks...
$inspector->reportException($exception);
});Exception monitoring

Last updated