Man Page: je::object::error
Operating Environment: debian
Section: 3pm
JE::Object::Error(3pm) User Contributed Perl Documentation JE::Object::Error(3pm)NAMEJE::Object::Error - JavaScript Error object classSYNOPSISuse 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 messageDESCRIPTIONThis class implements JavaScript Error objects for JE. This is the base class for all JavaScript's native error objects. (See "SEE ALSO", below.)METHODSSee 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.SEE ALSOJE JE::Object JE::Object::Error::RangeError JE::Object::Error::SyntaxError JE::Object::Error::TypeError JE::Object::Error::URIError JE::Object::Error::ReferenceError perl v5.14.2 2012-03-18 JE::Object::Error(3pm)
| Related Man Pages |
|---|
| gtk2::gdk::pixbufloader(3) - suse |
| config::scoped::error(3pm) - debian |
| je::object::regexp(3pm) - debian |
| latexml::error(3pm) - debian |
| throwable::error(3pm) - debian |
| Similar Topics in the Unix Linux Community |
|---|
| Introduction |
| One instance of comparing grep and awk |
| Weird 'find' results |
| My first PERL incarnation... Audio Oscillograph |