Skip to content

MEDIA_ERROR_CODES — @gj-kit/expo-media

A public constant from @gj-kit/expo-media. The signature below is taken directly from the 0.6.1 release declaration.

import { MEDIA_ERROR_CODES } from '@gj-kit/expo-media';
MEDIA_ERROR_CODES: readonly [
"device-timeout",
"device-icloud-only",
"device-not-found",
"device-library-failed",
"picker-failed",
"image-processing-failed",
"unsupported-file-type",
"file-too-large",
"upload-failed",
"save-permission-denied",
"save-download-failed",
"permission-denied",
"poster-upload-failed",
"no-media-selected",
"picked-asset-invalid",
"config-invalid",
"platform-unsupported"
]

This declaration is the source of truth for parameters, optionality, generics, return values, and public union/type contracts. Check the package golden path and this subpath’s import conditions for required environment, permission, and error boundaries before calling it.

  • Package: @gj-kit/expo-media
  • Version: 0.6.1
  • Public entry: .
  • Source: GitHub