Claes Jakobsson > JavaScript-1.06 > JavaScript::Error

Download:
JavaScript-1.06.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  15
Open  8
View Bugs
Report a bug
Source   Latest Release: JavaScript-1.13

NAME ^

JavaScript::Error - Encapsulates errors thrown from JavaScript

INTERFACE ^

INSTANCE METHODS

message

The cause of the exception.

file

The name of the file that the caused the exception.

line

The line number in the file that caused the exception.

as_string

A stringification of the exception in the format $message at $line in $file

OVERLOADED OPERATIONS ^

This class overloads stringification an will return the result from the method as_string.