Public Member Function Documentation

new(scalar class, hash args)
The object constructor.
Parameters
class
The package name.
args
Optional. A list of arguments.
Returns
(object) The new class object.
getStackString(scalar exception, scalar exceptionType, scalar shortenFilePaths)
Converts nzae exception into a readable stack trace.
Parameters
exception
The exception object.
exceptionType
Optional. The exception type.
shortenFilePaths
Optional. If TRUE, the stack trace reports the location of the file causing the exception with the common path elements removed.
Returns
A user-passable exception stack.

This function creates a stack trace appropriate for logging or sending to the user.