UNPKG

generaltranslation

Version:

A language toolkit for AI developers

11 lines (10 loc) 794 B
export declare const translationTimeoutError: (timeout: number) => string; export declare const translationRequestFailedError: (error: string) => string; export declare const apiError: (status: number, statusText: string, error: string) => string; export declare const invalidAuthError = "GT error: Invalid authentication."; export declare const noTargetLocaleProvidedError: (functionName: string) => string; export declare const noSourceLocaleProvidedError: (functionName: string) => string; export declare const noProjectIdProvidedError: (functionName: string) => string; export declare const noApiKeyProvidedError: (functionName: string) => string; export declare const invalidLocaleError: (locale: string) => string; export declare const invalidLocalesError: (locales: string[]) => string;