class ValidationException extends ValidationException (View source)

deprecated since 5.2.7. Use Illuminate\Validation\ValidationException.

Properties

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

Methods

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

Create a new exception instance.

Response
getResponse()

Get the underlying response instance.

Details

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

Create a new exception instance.

Parameters

Validator $validator
Response $response

Return Value

void

Response getResponse()

Get the underlying response instance.

Return Value

Response