
Err is the base class of all exceptions.
Slots
- cause
-
Err cause()
Get the underyling cause exception or null.
- make
-
new make(Str msg := def, Err cause := def)
Construct with specified error message and optional root cause.
- message
-
Str message()
Get the string message passed to the contructor or null if a message is not available.
- toStr
-
override Str toStr()
Return the qualified type name and optional message.
- trace
-
Void trace(OutStream out := def)
Dump the stack trace of this exception to the specified output stream (or Sys.out by default).