Libraries anvil lang throwable

class throwable
extends anvil.lang.object
Throwable is a carrier for exceptions, capable of holding of message and stack trace.

Constructor
throwable(*message)


Methods

throwable fill()
Inserts to current stack frame to this throwable object.

throwable fillInStackTrace()
Inserts to current stack frame to this throwable object.

array getErrors()
Returns array of (parsing) errors, if any.

string getMessage()
Returns the error message of this throwable.

list getStackTrace()
Returns the list containing instances of anvil.runtime.StackTraceElement:s.

string toString()
Returns textual presentation of this throwable