General adapter messages
The following is a list of all the codes and messages that are common among all resource adapters. Return codes with positive numbers are warning codes that indicate a successful operation. Return codes with negative numbers are error codes that indicate a failed operation.
See Database-specific Adapter Messages for information on database-specific return codes and error messages.
- Return Code
- Message
- -1
- Unknown error code
- -2
- Exception occurred
- -3
- Function failed
- -4
- Invalid property specified
- -5
- Property type mismatch
- -6
- Property not set
- -7
- Invalid index
- -8
- Null argument
- -9
- Invalid argument
- -10
- Failed to allocate memory
- -11
- No properties defined for the object
- -12
- Invalid type specified
- -13
- Connection failed
- -14
- File open failed
- -15
- File write failed
- -16
- File read failed
- -17
- File position function failed
- -18
- Invalid object specified
- -19
- Null object specified
- -20
- Illegal function call
- -21
- Unexpected end-of-file
- -22
- Only one top level element allowed
- -23
- Not a top level element
- -24
- 3rd party function failed
- -25
- Attempt was made to resize non-resizable memory
- -26
- Running map failed
- -27
- Loading map failed
- -28
- Item requested does not exist
- -29
- Failed to load library
- -30
- Invalid seek performed
- -31
- Buffer too small - data truncated
- -600
- Internal error
Message indicates nature of problem.