enum class UnprocessableEntityErrorType
Enum describes error codes corresponding to com.srv4pos.server.api.exceptions.UnprocessableEntityJsonException.
Occurs on attempt to join treasurer which is joined already. Need to disjoin treasurer from user at first. |
|
Occurs on attempt to join treasurer, but user has treasurer with same seller id already. |
|
Occurs on disjoin treasurer. Indicates that treasurer is not joined to any user and disjoin doesn't make any sense. |
|
Occurs if both passed seller wasn't found and company name wasn't set. |
|
Occurs on attempt to set control unit without com.srv4pos.server.api.activation.ActivationInfo.getControlUnitGeolocation info specified. |
|
Indicates that installation is out of date with device since another instance of application was installed already. Probably there was reinstall of application and there is trying to use old installation. |
|
Indicates that control unit should be set if application is working with control unit
(i.e. com.srv4pos.server.api.applicationDescription.ApplicationDescriptionInfo.isControlUnitRequired) set as |
|
Occurs during com.srv4pos.server.api.activation.ActivationService.create Indicates the attempt to enable auto-activation upon not yet registered control unit. |
|
Occurs during com.srv4pos.server.api.activation.ActivationService.create Indicates that passed production number doesn't belong to device. |
|
Occurs during com.srv4pos.server.api.activation.ActivationService.create Indicates that passed application package in com.srv4pos.server.api.activation.InstallationInfo and another one identified by production number are not the same. |
|
Occurs on attempt to remove application description which is referenced in another entities. |
|
Occurs on attempt to remove software vendor which is referenced in another entities. |
|
Occurs on attempt to create/edit user with com.srv4pos.server.api.auth.UserRole.ROLE_SOFTWARE_VENDOR_ADMIN. |
|
Occurs on attempt to change status of order which breaks conceived logic. |
|
Occurs on attempt to delete the control unit which belongs to at least one activation. |
|
Occurs when current day is closed. |
|
Occurs when current day isn't closed. |
|
Occurs when current receipt is printed already. |
|
Occurs when current receipt is not printed yet. |
|
Occurs when report is printed already. |
|
Occurs when report is not printed yet. |
|
abstract fun message(): String
Returns default human-readable message describing failure if any. |