class ValidationException extends Exception

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|null
getResponse()

Get the underlying response instance.

Details

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

Create a new exception instance.

Parameters

Validator $validator
Response $response

Return Value

void

at line 43
Response|null getResponse()

Get the underlying response instance.

Return Value

Response|null