![]() |
![]()
| ![]() |
![]()
NAMEHTML::DOM::Exception - The Exception interface for HTML::DOM VERSIONVersion 0.058 SYNOPSISuse HTML::DOM::Exception 'INVALID_CHARACTER_ERR'; eval { die new HTML::DOM::Exception INVALID_CHARACTER_ERR, 'Only ASCII characters allowed!' }; $@ == INVALID_CHARACTER_ERR; # true print $@; # prints "Only ASCII characters allowed!\n"; DESCRIPTIONThis module implementations the W3C's DOMException and EventException interfaces. HTML::DOM::Exception objects stringify to the message passed to the constructer and numify to the error number (see below, under 'EXPORTS'). METHODS
EXPORTSThe following constants are optionally exported. The descriptions are copied from the DOM spec.
SEE ALSOHTML::DOM POD ERRORSHey! The above document had some coding errors, which are explained below:
|