Skip to content

LocalMediaSaveFailureCode — @gj-kit/expo-media

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

import { LocalMediaSaveFailureCode } from '@gj-kit/expo-media/core';
/**
* The only per-item failures this local saver exposes. These are batch
* outcomes, rather than thrown `MediaError`s: one bad file must not stop later
* files from being saved. Adapter errors and URIs never escape.
*/
type LocalMediaSaveFailureCode = 'save-local-file-unavailable' | 'save-local-file-failed';

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: ./core
  • Source: GitHub