Back to Joomla project (class list)

Class NotAcceptableExceptionHandler - list of methods

Handler for routing errors that should give a 406
Package: Joomla\CMS\Error\JsonApi
Copyright: (C) 2019 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE
Located at: Joomla/Error/JsonApi/NotAcceptableExceptionHandler.php
Project: Joomla

Method Summary

public bool
(\Exception $e)

If the exception handler is able to format a response for the provided exception, then the implementation should return true.
Parameters
  • \Exception $e The exception to be handled
Returns
  • bool
Since
  • 4.0.0
Show source code of this method: manages Source Code

public \Tobscure\JsonApi\Exception\Handler\ResponseBag
(\Exception $e)

Handle the provided exception.
Parameters
  • \Exception $e The exception being handled
Returns
  • \Tobscure\JsonApi\Exception\Handler\ResponseBag
Since
  • 4.0.0
Show source code of this method: handle Source Code

Tags Summary

Since
4.0.0