Moodle PHP Documentation 5.1
Moodle 5.1dev (Build: 20250530) (c39b7370636)
ddl_exception Class Reference

DDL exception class, use instead of throw new moodle_exception() and "return false;" in ddl code. More...

Inheritance diagram for ddl_exception:
ddl_change_structure_exception ddl_dependency_exception ddl_field_missing_exception ddl_table_missing_exception

Public Member Functions

 __construct ($errorcode, $a=NULL, $debuginfo=null)
 

Detailed Description

DDL exception class, use instead of throw new moodle_exception() and "return false;" in ddl code.

Constructor & Destructor Documentation

◆ __construct()

ddl_exception::__construct ( $errorcode,
$a = NULL,
$debuginfo = null )
Parameters
string$errorcode
string$debuginfo

Reimplemented in ddl_field_missing_exception.


The documentation for this class was generated from the following file: