Rejections

object Rejections

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

Properties

Link copied to clipboard
@ErrorCode(description = "A published product has a brand and a category.", status = 409)
const val INCOMPLETE: String
Link copied to clipboard
@ErrorCode(description = "Only a published product can be delisted.", status = 409)
const val NOT_PUBLISHED: String