Father Chrysostomos > JE-0.066 > JE::Object::Error::ReferenceError

Download:
JE-0.066.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Stalled  2
View/Report Bugs
Module Version: 0.066   Source  

NAME ^

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

SYNOPSIS ^

  use JE::Object::Error::ReferenceError;

  # Somewhere in code called by an eval{}
  die new JE::Object::Error::ReferenceError $global,
          "(Error message here)";

  # Later:
  $@->prop('message');  # error message
  $@->prop('name');     # 'ReferenceError'
  "$@";                 # 'ReferenceError: ' plus the error message

DESCRIPTION ^

This class implements JavaScript ReferenceError objects for JE.

METHODS ^

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

SEE ALSO ^

JE
JE::Types
JE::Object
JE::Object::Error
syntax highlighting: