* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ return [ /* |-------------------------------------------------------------------------- | 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' => [ 'GrahamCampbell\Exceptions\Displayers\DebugDisplayer', 'GrahamCampbell\Exceptions\Displayers\HtmlDisplayer', 'GrahamCampbell\Exceptions\Displayers\JsonDisplayer', ], /* |-------------------------------------------------------------------------- | 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\Exceptions\Filters\ApiFilter', ], ];