Media / foldkit-media/browser

UploadRefusal

const · packages/media/src/browser/upload.ts:11

const UploadRefusal: Schema.Literals<
  readonly [
    'Forbidden',
    'Unauthenticated',
    'TooLarge',
    'Unsupported',
    'Malformed',
    'Network',
    'Unexpected',
  ]
>

Its type

type UploadRefusal = typeof UploadRefusal.Type

Why an upload did not end in facts: the route's refusal, or no answer at all.