![]() |
![]()
| ![]() |
![]()
NAMECSS::DOM::Exception - The Exception interface for CSS::DOM SYNOPSISuse CSS::DOM::Exception 'SYNTAX_ERR'; eval { die new CSS::DOM::Exception SYNTAX_ERR, '1 is not a valid property declaration' }; $@ == SYNTAX_ERR; # true print $@; # prints "1 is not a valid property declaration\n"; DESCRIPTIONThis module implementations the W3C's DOMException interface. CSS::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 ALSOCSS::DOM, HTML::DOM::Exception
|