Moodle PHP Documentation 5.1
Moodle 5.1dev (Build: 20250530) (c39b7370636)
|
DML exception class, use instead of throw new moodle_exception() in dml code. More...
Public Member Functions | |
__construct ($errorcode, $a=NULL, $debuginfo=null) | |
DML exception class, use instead of throw new moodle_exception() in dml code.
@subpackage dml
dml_exception::__construct | ( | $errorcode, | |
$a = NULL, | |||
$debuginfo = null ) |
string | $errorcode | The name of the string from error.php to print. |
mixed | $a | Extra words and phrases that might be required in the error string. |
string | $debuginfo | Optional debugging information. |