Dodo
DOm DOcument implementation
Loading...
Searching...
No Matches
Wikimedia\Dodo\DOMException Class Reference
+ Inheritance diagram for Wikimedia\Dodo\DOMException:

Public Member Functions

 __construct (?string $message=null, ?string $name=null)
 [WEB-IDL-1] This is the actual constructor prototype.
 
string getName ()
 
string __toString ()
 Human-readable represetation of this exception.
 
- Public Member Functions inherited from Wikimedia::IDLeDOM::DOMException
string getMessage ()
 
int getCode ()
 

Constructor & Destructor Documentation

◆ __construct()

Wikimedia\Dodo\DOMException::__construct ( ?string $message = null,
?string $name = null )

[WEB-IDL-1] This is the actual constructor prototype.

I think the invocation is ridiculous, so we wrap it in an error() function (see Util.php).

Parameters
?string$message
?string$name

Member Function Documentation

◆ __toString()

string Wikimedia\Dodo\DOMException::__toString ( )

Human-readable represetation of this exception.

Returns
string

◆ getName()

string Wikimedia\Dodo\DOMException::getName ( )

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