com.getsensibill.core.analytic / Transaction / Error
Error
enum class Error
Enum that represents the possible error types in case of a transaction processing failure.
Enum Values
| Name | Summary |
|---|---|
| NO_ERROR | No error. Transaction is still in a valid state. |
| UNKNOWN | Error origin is not known. |
| UPLOAD_CANCELLED_NO_IMAGE | Transaction state is invalid for upload: image data was not found. |
| UPLOAD_CANCELLED_BIG_IMAGE | Transaction state is invalid for upload: image data is over the limit (2mb). |
| UPLOAD_INVALID_RESPONSE | On upload request, the server returned a response that could not be interpreted and is considered invalid. |
| POLL_INVALID_RESPONSE | On wait request, the server returned a response that could not be interpreted and is considered invalid. |
| STOPPED_ON_SERVER | Server returned a stopped status for transaction. |
| FAILED_ON_SERVER | Server returned a failed status for transaction. |
| BAD_REQUEST | Server returned status code 400 (bad request). |
| UNAUTHORIZED | Server returned status code 401 (unauthorized). |
| FORBIDDEN | Server returned status code 403 (forbidden). |