class DeviseValidationException extends DeviseException

This validation exception is thrown when ever there are validation errors somewhere. It is used in the Manager class to assert fields are valid.

Methods

static DeviseException
getFacadeRoot()

Pretends to be a Facade for Exception

__construct(string $message, MessageBag $errors)

Construct a new Validation exception

MessageBag
getErrors()

Access the errors message bag

Details

in DeviseException at line 18
static DeviseException getFacadeRoot()

Pretends to be a Facade for Exception

Return Value

DeviseException

at line 24
__construct(string $message, MessageBag $errors)

Construct a new Validation exception

Parameters

string $message
MessageBag $errors

at line 35
MessageBag getErrors()

Access the errors message bag

Return Value

MessageBag