RegisterReceivedExceptionType (open)

Register an exception type that can be received from IPC links for automatic throwing by receivemessage

Syntax

LOADLIB "wh::ipc.whlib";

MACRO RegisterReceivedExceptionType(STRING type, FUNCTION PTR createfunc)

Parameters

STRING type

Type of exception (must match the name sent over the link, case-sensitive)

FUNCTION PTR createfunc

Function that creates a new exception object. Signature: OBJECT FUNCTION createfunc(RECORD encoded_data).