UnsupportedUploadMimeTypeError

errors · /index·class

Signals that an uploaded file's mime type is outside the media allowlist (any image, mp4 video, or PDF), returning HTTP 415.

Signature

Example

throw new UnsupportedUploadMimeTypeError('text/html');

ApiErrorKind GenericErrorKind ApiError CartNotFoundError CartProviderError CartUserError ConvexOperatorTokenMintError DomainVerificationError

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

On this page