Exception::EncodeForIPC

Encode into a record for transfer over IPC. Use RegisterReceivedExceptionType to register decoders for other types of exception.

Syntax

LOADLIB "wh::system.whlib";

RECORD FUNCTION EncodeForIPC()

Return value

RECORD

Encoded exception

STRING trace

Exception trace. Required.

INTEGER trace.col

Column

STRING trace.filename

Filename

STRING trace.func

Function

INTEGER trace.line

Line

STRING type

Type, required, must be unique for every exception type.