UNPKG

react-i18next

Version:

Internationalization for react done right. Using the i18next i18n ecosystem.

18 lines (17 loc) 524 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.TranslationParserError = void 0; class TranslationParserError extends Error { constructor(message, position, translationString) { super(message); this.name = 'TranslationParserError'; this.position = position; this.translationString = translationString; if (Error.captureStackTrace) { Error.captureStackTrace(this, TranslationParserError); } } } exports.TranslationParserError = TranslationParserError;