W3cubDocs

/Laravel 5.2

ValidationException

class ValidationException extends ValidationException (View source)

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.

from ValidationException
Response getResponse()

Get the underlying response instance.

from ValidationException

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

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