JE::Object::Error::TypeError(3) JavaScript TypeError object class

SYNOPSIS


use JE::Object::Error::TypeError;
# Somewhere in code called by an eval{}
die new JE::Object::Error::TypeError $global, "(Error message here)";
# Later:
[email protected]>prop('message'); # error message
[email protected]>prop('name'); # 'TypeError'
"[email protected]"; # 'TypeError: ' plus the error message

DESCRIPTION

This class implements JavaScript TypeError objects for JE.

METHODS

See JE::Types and JE::Object::Error.