Digging Deeper
Validation Rules
Overview
You can define your own validation rules, messages, and attributes for any AllowedType
.
- When a filter does not pass validation rules, a
MalformedFilterFormatException
is thrown. MalformedFilterFormatException
extends LaravelsValidationException
.- You can let this bubble up to your controller for the default laravel 422 response.
- This exception CAN be suppressed.