Method | Description | |
---|---|---|
validation ( Crud\Error\Exception\ValidationException $error ) : |
Renders validation errors and sends a 422 error code |
Method | Description | |
---|---|---|
_getErrorData ( ) : array | Helper method used to generate extra debugging data into the error template | |
_getQueryLog ( ) : array | Helper method to get query log. | |
_outputMessage ( string $template ) : |
Generate the response using the controller object. |
protected _getErrorData ( ) : array | ||
return | array | debugging data |
protected _getQueryLog ( ) : array | ||
return | array | Query log. |
protected _outputMessage ( string $template ) : |
||
$template | string | The template to render. |
return |
public validation ( Crud\Error\Exception\ValidationException $error ) : |
||
$error | Crud\Error\Exception\ValidationException | Exception instance |
return |