Upon normal, successful completion the value of the requested item is returned. In the event of an error, a value of -1 is returned and mta_errno is set to indicate the error status code. The following table lists the error status codes for this routine, and gives an example of each.
Error Status Codes |
Description |
---|---|
MTA_BADARGS |
A NULL value was supplied for the dctx call argument. |
MTA_NOSUCHITEM |
An invalid value was supplied for the item call argument. |