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' }]);

ApiErrorKind GenericErrorKind ApiError CartNotFoundError CartProviderError ConvexOperatorTokenMintError DomainVerificationError DuplicateContextDirectiveError

Sourceindex.ts:464Edit the JSDoc directly
Metadata@nordcom/commerce-errors@0.0.0Open in GitHub ↗

On this page