reportable(function (\Throwable $e): void { if (app()->bound('sentry')) { resolve('sentry')->captureException($e); } }); } }