JE::Object::Error::TypeError - JavaScript TypeError object class


NAME

JE::Object::Error::TypeError - 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:
  $@->prop('message');  # error message
  $@->prop('name');     # 'TypeError'
  "$@";                 # 'TypeError: ' plus the error message


DESCRIPTION

This class implements JavaScript TypeError objects for JE.


METHODS

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


SEE ALSO

JE
the JE::Types manpage
the JE::Object manpage
the JE::Object::Error manpage
 JE::Object::Error::TypeError - JavaScript TypeError object class