phpBB API Documentation
Class

phpbb\db\migration\exception

class exception extends Exception

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

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
public __construct()

Throw an exception.

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

at line 47
public string __toString()

Output the error as a string

Return Value

string

at line 57
public array getParameters()

Get the parameters

Return Value

array

at line 68
public string getLocalisedMessage(user $user)

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

Parameters

user $user

Return Value

string