JavaScript::Error3pm
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"
- stacktrace
-
Returns the stacktrace for the exception as a list of hashrefs containing
"function","file"and"lineno".
Overloaded operations
This class overloads stringification an will return the result from the method "as_string".
Releases
2 releases since Debian 5.0 (Lenny); the text changed 1 time.