UNPKG

i18n-llm-translate

Version:

Automatically translates namespace-based JSON translation files across multiple languages from any source language

11 lines (10 loc) 497 B
/** * Thrown when the engine stops cleanly without dumping the wrapped API error to the console. * Use {@link isBreakSilentError} to detect. Pass `verboseEngineErrors: true` in translate options * to log {@link originalError} from translate()'s catch handler. */ export declare class BreakSilentError extends Error { readonly originalError: unknown; constructor(message: string, originalError: unknown); } export declare function isBreakSilentError(e: unknown): e is BreakSilentError;