ValidationException

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

Get the underlying response instance.

Return Value

Response|null

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.3/Illuminate/Validation/ValidationException.html