References
Error codes
In addition to the codes listed here, MJCS can also return any http error (401, 404, etc).
/**
* A general error
*/
const val GENERAL = 1
/**
* Journey Failed server didn't respond.
*/
const val NO_SERVER_RESPONSE = 2
/**
* Journey Failed because of unknown action
*/
const val UNKNOWN_REQUIRED_ACTION = 3
/**
* Journey Canceled by user.
*/
const val CANCELED_BY_USER = 4
/**
* Journey Failed because of camera failure
*/
const val CAMERA = 5
/**
* Creating webservice instance failed
*/
const val WEB_INITIALIZING = 6
/**
* Creating Retrofit instance failed with IllegalArgumentException
*/
const val WEB_INITIALIZING_BAD_URL = 7
/**
* Execution error, most likely exceptions from witch we are not recovering, will send exception localised message.
*/
const val EXECUTION = 8