errorMessage() – Returns a textual error message for an error code


require_once 'HTML/Template/Sigma.php';

string HTML_Template_Sigma::errorMessage ( integer $code , string $data = null )


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.


integer $code

error code

string $data

additional data to insert into message

Return value

return error message


throws no exceptions thrown


This function can not be called statically.

Clears the variables (Previous) Returns a block with all replacements done. (Next)
Last updated: Sun, 04 Oct 2015 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:

User Notes:

There are no user contributed notes for this page.