class ValidationException extends Exception (View source)

Properties

Validator $validator The validator instance.
Response|null $response The recommended response to send to the client.

Methods

void
__construct( Validator $validator, Response $response = null)

Create a new exception instance.

Response
getResponse()

Get the underlying response instance.

Details

at line line 30
void __construct( Validator $validator, Response $response = null)

Create a new exception instance.

Parameters

Validator $validator
Response $response

Return Value

void

at line line 43
Response getResponse()

Get the underlying response instance.

Return Value

Response