The manakai project

Web::DOM::TypeError

TypeError object

DESCRIPTION

A Web::DOM::TypeError object is intended to be equivalent to JavaScript TypeError.

METHODS

In addition to the methods of the Web::DOM:Error, following method is available:

$error = Web::DOM::TypeError->new ($message)

Create and return a new type error object.

If a character string is specified as an argument, the error's message is set to the argument. Otherwise, the message is set to the empty string.

An instance of the Web::DOM::TypeError class is implementing the Perl Error Object Interface Level 1 (see "ERROR OBJECT API" in Web::DOM::Error).

SPECIFICATION

WEBIDL

WebIDL <https://heycam.github.io/webidl/>.

SEE ALSO

Web::DOM::TypeError.

ECMAScript TypeError <https://tc39.github.io/ecma262/#sec-native-error-types-used-in-this-standard-typeerror>.

Web IDL TypeError <https://heycam.github.io/webidl/#exceptiondef-typeerror>.

AUTHOR

Wakaba <wakaba@suikawiki.org>.

LICENSE

Copyright 2012-2017 Wakaba <wakaba@suikawiki.org>.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.