UNPKG

@signiant/media-shuttle-sdk-base

Version:

The base parent sdk behind other media shuttle sdks (e.g. media-shuttle-sdk)

21 lines 758 B
declare class AppErrorCodeMapper { private readonly messageMap; constructor(); private getMessage; /** * This function maps the Signiant app transport layer cryptic error codes to something humans can understand. * @param transportErrorCode * @returns { code: string; message: string } */ getMessageForTransport(transportErrorCode: string): { code: string; message: string; }; } /** * Exporting the instance over the class is intentional. If we observe the original implementation we see that * all message callers are sharing the same message map; so we should do the same. */ declare const _default: AppErrorCodeMapper; export default _default; //# sourceMappingURL=appErrorCodeMapper.d.ts.map