Error codes
When an integration fails, Attlaz returns a stable error code alongside a human-readable message. Codes let you handle failures programmatically without parsing message text, which can change. Adapter-related codes start with EADAP; data-processing codes start with ECON.
Connection errors
Returned while establishing a connection to an external service.
| Code | Message | When it's used |
|---|---|---|
EADAPCONNFAILED | Unknown error when trying to make a connection. | A connection could not be made and no more specific error applies. |
EADAPNOTFOUND | Unable to make connection, not found. | The connection being used does not exist. |
EADAPINVALIDCONFIG | Unable to make connection, invalid configuration. | The connection is misconfigured — for example a required property such as a password is missing. |
EADAPCONNREFUSED | Connection was refused by the server. | The remote server refused the connection. |
EADAPCONNTIMEOUT | A timeout occurred when trying to connect. | The connection attempt timed out. |
EADAPCONNAUTH | Unable to make connection because of authentication issues. | The credentials were rejected. |
Errors after connecting
Returned when a connection succeeded but a later operation failed.
| Code | Message | When it's used |
|---|---|---|
EADAPCONNERROR | Connection error. | The connection was made, but something went wrong sending or receiving data. |
EADAPCONNTIMEOUT2 | Connection error: timeout after connection was made. | An operation exceeded a timeout limit after connecting. |
EADAPCONNABORTED | Connection error: aborted after connection was made. | The connection was forcibly closed by the remote peer. |
Data errors
Returned when the data being processed is the problem.
| Code | Message | When it's used |
|---|---|---|
ECON | Logical error. | The adapter's logic could not complete the operation. |
ECONINVALIDINPUT | Unable to process because of invalid input data. | The input data was invalid. |
ECONINVALIDDATA | Unable to process because of invalid data. | Processing stopped because invalid data was detected. |
ECONREFUSED | Unable to perform action, insufficient rights. | The operation was not permitted. |