Skip to content

mediaErrorUserMessage — @gj-kit/expo-media

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

import { mediaErrorUserMessage } from '@gj-kit/expo-media';
/**
* 전신 `photoErrorUserMessage`.
* `MediaError`의 message는 이미 사용자 노출 가능 문구다(`MediaStrings` 주입 결과 — §4).
* 화면은 일반 실패 문구 대신 이 값을 그대로 표시해도 된다.
*/
declare function mediaErrorUserMessage(error: unknown): string | 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: .
  • Source: GitHub