|
Moodle PHP Documentation 5.0
Moodle 5.0.1+ (Build: 20250711) (61af040cd5f)
|
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. |