ConstReadonlyBUNDLE_NOT_SUPPORTED: "OPTION_BUNDLE_NOT_SUPPORTED"ReadonlyCATALOG_NOT_FOUND: "OPTION_CATALOG_NOT_FOUND"ReadonlyCHARGE_LINE_LOCKED: "OPTION_CHARGE_LINE_LOCKED"ReadonlyCHARGE_PRODUCT_INVALID: "OPTION_CHARGE_PRODUCT_INVALID"ReadonlyCONFIGURATION_REQUIRED: "OPTION_CONFIGURATION_REQUIRED"A plain add of a product whose required positions have no default (details.missingPositions).
ReadonlyGROUP_LINE_LOCKED: "OPTION_GROUP_LINE_LOCKED"ReadonlyGROUP_NOT_FOUND: "OPTION_GROUP_NOT_FOUND"ReadonlyITEM_NOT_IN_PRODUCT: "OPTION_ITEM_NOT_IN_PRODUCT"ReadonlyITEMS_INVALID: "OPTION_ITEMS_INVALID"ReadonlyMATRIX_INVALID: "OPTION_MATRIX_INVALID"ReadonlyNOT_ALLOWED: "OPTION_NOT_ALLOWED"ReadonlyPOSITION_DUPLICATE: "OPTION_POSITION_DUPLICATE"ReadonlyPOSITION_REQUIRED: "OPTION_POSITION_REQUIRED"A required position has no choice and no default.
ReadonlyPOSITION_UNKNOWN: "OPTION_POSITION_UNKNOWN"ReadonlyPRICE_MISSING: "OPTION_PRICE_MISSING"The goods have no price row for the class key on the market (details: { sku, priceClassCode, marketId }).
ReadonlyPROFILE_MISSING: "OPTION_PROFILE_MISSING"ReadonlyPROFILE_NOT_FOUND: "OPTION_PROFILE_NOT_FOUND"ReadonlySELECTION_INVALID: "OPTION_SELECTION_INVALID"ReadonlyUNAVAILABLE: "OPTION_UNAVAILABLE"ReadonlyUNKNOWN: "OPTION_UNKNOWN"
The OPTION_* error codes a configured add can be refused with (avvyr-core config/errorCodes.js), and readers that find the code and details on any client's error: StorefrontApiError, an axios error (
response.data), an ofetch/Nuxt error (data,response._data), or the body itself.