Skip to content

mediaUploadFailureInfo — @gj-kit/expo-media

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

import { mediaUploadFailureInfo } from '@gj-kit/expo-media/core';
/**
* 실패한 업로드가 남긴 정리 후보를 읽는다.
*
* `MediaError`와 마찬가지로 `instanceof`가 아니라 전역 심볼을 읽으므로, `.`에서 잡은
* 에러가 `./core` 또는 다른 CJS/ESM 사본에서 만들어졌어도 동작한다. 값에는 presigned URL,
* HTTP header, 원본 네트워크 에러가 절대 포함되지 않는다.
*/
declare function mediaUploadFailureInfo(error: unknown): MediaUploadFailureInfo | null;

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