API error response for 422 Unprocessable Entity - business logic failures that prevent cart operations.
Use BusinessError (422) when:
Unlike technical errors (400/404/500), business errors can optionally include rich context about why the operation failed and what actions can resolve the issue, maintaining consistency with validation_issues patterns.
The business_context field is optional but only available on 422 responses. When present, it provides
the same ValidationIssue structure used in 200 responses, enabling consistent AI agent handling.
See ERROR_CODES.md for complete guidance on Error vs ValidationIssue vs BusinessError usage.
business_contextobject<ValidationIssue>Optionalspecific_issueenumOptionalspecific_issueenumOptionalspecific_issueenumOptionalspecific_issueenumOptionalresolution_optionsobject<ResolutionOption>[]OptionalactionenumRequired