class exception extends Exception

The migrator is responsible for applying new migrations in the correct order.

Properties

protected array $parameters

Extra parameters sent to exception to aid in debugging

Methods

__construct()

Throw an exception.

string
__toString()

Output the error as a string

array
getParameters()

Get the parameters

string
getLocalisedMessage(user $user)

Get localised message (with $user->lang())

Details

at line 33
__construct()

Throw an exception.

First argument is the error message. Additional arguments will be output with the error message.

at line 47
string __toString()

Output the error as a string

Return Value

string

at line 57
array getParameters()

Get the parameters

Return Value

array

at line 68
string getLocalisedMessage(user $user)

Get localised message (with $user->lang())

Parameters

user $user

Return Value

string