Rejections

object Rejections

The codes the aggregate rejects a command with, by their local names: the compiler and the kernel name them <context>.basket.<code>, as its peers read them from the api's generated contract.

Properties

Link copied to clipboard
@ErrorCode(description = "An empty basket cannot be checked out.")
const val EMPTY: String
Link copied to clipboard
@ErrorCode(description = "The basket does not hold the product.", status = 404)
const val ITEM_NOT_FOUND: String