WittyRuntimeException (open)
Exception throw when a Witty runtime exception occurs
Syntax
LOADLIB "wh::witty.whlib";
OBJECTTYPE WittyRuntimeException
Constructor
- MACRO NEW(OBJECT script, STRING library, RECORD error)
Create a new Witty runtime exception
Variables
- RECORD error
Error description @includecelldef #new.error
- STRING library
Resource name of the witty library where the error occurred
- OBJECT script
Witty library where the error occurred
- STRING what (inherited from Exception)
Message for this exception
Properties
- PROPERTY trace (inherited from Exception)
Contains the unwind trace for this exception
Functions
- RECORD FUNCTION EncodeForIPC() (inherited from Exception)
Encode into a record for transfer over IPC. Use RegisterReceivedExceptionType to register decoders for other types of exception.