Upon normal, successful completion, a pointer to an option context is returned. In the event of an error, a NULL value is 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 each:
Error Status Codes |
Description |
---|---|
MTA_BADARGS |
A NULL value was supplied for the dctx call argument, or an invalid decode context was supplied for dctx. |
MTA_NOSUCHITEM |
An invalid value was supplied for the item call argument. |