Exception to throw when validation failed

 Methods

Overridden \FuelException construct to add a Fieldset instance into the exception

__construct(string $message, int $code, \Exception $previous, \Fieldset $fieldset) 

Parameters

$message

string

the error message

$code

int

the error code

$previous

\Exception

any previous exception

$fieldset

\Fieldset

the fieldset on which this exception was triggered

Gets the Fieldset from this exception

get_fieldset() : \Orm\Fieldset

Returns

\Orm\Fieldset

 Properties

 

<p>the fieldset causing this exception</p>

$fieldset : \Orm\Fieldset