Rejections

object Rejections

Properties

Link copied to clipboard
@ErrorCode(description = "An order has items, each of a positive quantity and price.")
const val INVALID_ITEMS: String
Link copied to clipboard
@ErrorCode(description = "A payment is positive and at most what remains to pay.")
const val WRONG_AMOUNT: String
Link copied to clipboard
@ErrorCode(description = "The order is not in the status the command needs.", status = 409)
const val WRONG_STATUS: String