HarescriptErrorException::EncodeForIPC (open)

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

Syntax

// Core function, no LOADLIB necessary

RECORD FUNCTION EncodeForIPC()

Return value

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.