CartUserError
●errors · /index·class
Signals that the cart provider rejected the mutation with one or more user-facing validation errors, returning HTTP 400.
Signature
Example
throw new CartUserError([{ field: 'quantity', message: 'Must be at least 1' }]);Related
ApiErrorKind GenericErrorKind ApiError CartNotFoundError CartProviderError ConvexOperatorTokenMintError DomainVerificationError DuplicateContextDirectiveError