Skip to content

sanitizeMediaErrorMessage — @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 { sanitizeMediaErrorMessage } from '@gj-kit/expo-media';
/**
* 전신 `sanitizePhotoErrorMessage`.
*
* iOS URLSession 실패는 **서명 업로드 URL 전문을 그대로 에코**한다. 그 쿼리에는 임시 자격증명이
* 들어 있으므로 개발자 로그에도 활동 로그에도 남겨선 안 된다. 플랫폼 에러 코드와 설명은 남기고
* URL만 `[URL]`로 치환한 뒤 1000자에서 자른다.
*/
declare function sanitizeMediaErrorMessage(message: string): string;

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