errorMessage() -- Returns a textual error message for an error code
Beschrijving
Returns a textual error message for an error code. This is usually called when throwing a error, there is seldom need to call this method directly.
Parameter
- integer
$code
error code
- string
$data
additional data to insert into message
Return waarde
return error message
Throws
throws no exceptions thrown
Note
Deze functie kan niet statisch worden aangeroepen.