errorMessage()

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 error message

例外・エラー

throws no exceptions thrown

注意

この関数は、スタティックにコールする ことはできません。