Moodle PHP Documentation 5.0
Moodle 5.0.1+ (Build: 20250711) (61af040cd5f)
base_element_struct_exception Class Reference

base_element exception to control all the errors while building the nested tree More...

Inheritance diagram for base_element_struct_exception:
base_atom_exception

Public Member Functions

 __construct ($errorcode, $a=null, $debuginfo=null)
 Constructor - instantiates one base_element_struct_exception.
 

Detailed Description

base_element exception to control all the errors while building the nested tree

This exception will be thrown each time the base_element class detects some inconsistency related with the building of the nested tree representing one base part (invalid objects, circular references, double parents...)

Constructor & Destructor Documentation

◆ __construct()

base_element_struct_exception::__construct ( $errorcode,
$a = null,
$debuginfo = null )

Constructor - instantiates one base_element_struct_exception.

Parameters
string$errorcodekey for the corresponding error string
object$aextra words and phrases that might be required in the error string
string$debuginfooptional debugging information

Reimplemented from base_atom_exception.


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