ErrorController
class ErrorController extends JSONController
Methods
mixed
errorAction()
Show an error message, provided that the exception is stored in the request's attributes
array
genericErrorAction(string $message = 'An error occured')
Show a generic error message
array
modelNotFoundAction(string $type = '', string $message = 'The specified object was not found')
Show an error message for a model that wasn't found
Details
at line line 14
mixed
errorAction()
Show an error message, provided that the exception is stored in the request's attributes
at line line 35
array
genericErrorAction(string $message = 'An error occured')
Show a generic error message
at line line 56
array
modelNotFoundAction(string $type = '', string $message = 'The specified object was not found')
Show an error message for a model that wasn't found