[ 'GrahamCampbell\Exceptions\Transformers\AuthTransformer', 'GrahamCampbell\Exceptions\Transformers\CsrfTransformer', 'GrahamCampbell\Exceptions\Transformers\ModelTransformer', 'CachetHQ\Cachet\Foundation\Exceptions\Transformers\BusTransformer', ], /* |-------------------------------------------------------------------------- | Exception Displayers |-------------------------------------------------------------------------- | | Here are each of the exception displayers setup for your application. | | These displayers are sorted by priority. Note that when we are in debug | mode, we will select the first valid displayer from the list, and when we | are not in debug mode, we'll filter out all verbose displayers, then | select the first valid displayer from the new list. | */ 'displayers' => [ 'CachetHQ\Cachet\Foundation\Exceptions\Displayers\JsonValidationDisplayer', 'CachetHQ\Cachet\Foundation\Exceptions\Displayers\RedirectDisplayer', 'CachetHQ\Cachet\Foundation\Exceptions\Displayers\ThrottleDisplayer', 'CachetHQ\Cachet\Foundation\Exceptions\Displayers\MaintenanceDisplayer', 'GrahamCampbell\Exceptions\Displayers\DebugDisplayer', 'GrahamCampbell\Exceptions\Displayers\HtmlDisplayer', 'GrahamCampbell\Exceptions\Displayers\JsonDisplayer', 'GrahamCampbell\Exceptions\Displayers\JsonApiDisplayer', ], /* |-------------------------------------------------------------------------- | Displayer Filters |-------------------------------------------------------------------------- | | Here are each of the filters for the displayers. | | This allows you to apply filters to your displayers in order to work out | which displayer to use for each exception. This includes things like | content type negotiation. | */ 'filters' => [ 'GrahamCampbell\Exceptions\Filters\VerboseFilter', 'GrahamCampbell\Exceptions\Filters\CanDisplayFilter', 'GrahamCampbell\Exceptions\Filters\ContentTypeFilter', 'CachetHQ\Cachet\Foundation\Exceptions\Filters\ApiFilter', ], /* |-------------------------------------------------------------------------- | Default Displayer |-------------------------------------------------------------------------- | | Here you may define the default displayer for your application. | | This displayer will be used if your filters have filtered out all the | displayers, otherwise leaving us unable to displayer the exception. | */ 'default' => 'GrahamCampbell\Exceptions\Displayers\HtmlDisplayer', /* |-------------------------------------------------------------------------- | Exception Levels |-------------------------------------------------------------------------- | | Here are each of the log levels for the each exception. | | If an exception passes an instance of test for each key, then the log | level used is the value associated with each key. | */ 'levels' => [ 'Illuminate\Auth\Access\AuthorizationException' => 'warning', 'Illuminate\Database\Eloquent\ModelNotFoundException' => 'warning', 'Illuminate\Session\TokenMismatchException' => 'notice', 'Symfony\Component\HttpKernel\Exception\HttpExceptionInterface' => 'notice', 'Symfony\Component\Debug\Exception\FatalErrorException' => 'critical', 'Exception' => 'error', ], ];