GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
JE::Object::Error(3) User Contributed Perl Documentation JE::Object::Error(3)

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

  use JE::Object::Error;

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

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

This class implements JavaScript Error objects for JE. This is the base class for all JavaScript's native error objects. (See "SEE ALSO", below.)

See JE::Types for descriptions of most of the methods. Only what is specific to JE::Object::Error is explained here.

The "value" method returns the string 'Error: ' followed by the error message. 'Error' will be replaced with the class name (the result of calling "->class") for subclasses.

JE
JE::Object
JE::Object::Error::RangeError
JE::Object::Error::SyntaxError
JE::Object::Error::TypeError
JE::Object::Error::URIError
JE::Object::Error::ReferenceError
2014-10-20 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.