Return Values
In the event of an error from mtaEnqueueError(), a NULL value will be returned and mta_errno is set to indicate
the error status code. The following table lists the error status codes, and gives
a description of them.
Error Status Codes
|
Description
|
0
|
Normal, successful completion.
|
MTA_BADARGS
|
This value is returned for one of the following reasons:
-
A NULL value was supplied for the nq_ctx call argument.
-
An invalid context was passed for nq_ctx.
|
MTA_THREAD
|
Simultaneous use of the enqueue context by two different threads was detected.
|