Error and Result Codes
Error Codes
- snf_SUCCESS = 0
- snf_ERROR_CMD_LINE = 65
- snf_ERROR_LOG_FILE = 66
- snf_ERROR_RULE_FILE = 67
- snf_ERROR_RULE_DATA = 68
- snf_ERROR_RULE_AUTH = 73
- snf_ERROR_MSG_FILE = 69
- snf_ERROR_ALLOCATION = 70
- snf_ERROR_BAD_MATRIX = 71
- snf_ERROR_MAX_EVALS = 72
- snf_ERROR_UNKNOWN = 99
- snf_ERROR_NO_HANDLE = -1, Invalid scan handle used or created.
- snf_ERROR_SCAN_FAILED = -2, An unexpected exception during a scan.
- snf_ERROR_EXCEPTION = -3, An unexpected exception occurred.
See the Errors page for more detailed descriptions of these error codes.
Scan Result Codes
Scan results codes 0 through 63 represent normal scan results. By convention a result of 0 indicates ham (not spam); a result of 1 indicates a white-ruled message; and other non-zero result values that are less than 64 indicate some kind of spam or malware was detected. Further details on message scan result codes.