This function is used to retrieve details of the last NATS error.
Context
Windows client
Windows server
Java client
Java server
Adelia Web Client
Adelia Cloud client
Event Adelia client
Parameters
NUM_BIN_4 | Status | Return code of the last operation carried out. The possible values are as follows:
Output parameter | ||||||||||||||||||||||||
NUM_BIN_4 | JetStreamCode | JetStream error code, only entered if the error is _NATS_ERR_JETSTREAM_ERROR. Output parameter. | ||||||||||||||||||||||||
ALPHA | Message | Associated error message. Output parameter. | ||||||||||||||||||||||||
NUM_BIN_4 | MessageLength (E) | Message variable length. |
Example
NUM_BIN_4 Rc
NUM_BIN_4 JetStreamCode
ALPHA(250) Message
...
CALL_DLL 'NatsToolBx' 'NatsLastError' Rc JetStreamCode Message 250