angular-translation-checker
Version:
A comprehensive tool for analyzing translation keys in Angular projects using ngx-translate
30 lines • 1.07 kB
JavaScript
// Core Types and Interfaces for Angular Translation Checker
Object.defineProperty(exports, "__esModule", { value: true });
exports.ConfigurationError = exports.PluginError = exports.TranslationCheckerError = void 0;
// Error Types
class TranslationCheckerError extends Error {
constructor(message, code, details) {
super(message);
this.code = code;
this.details = details;
this.name = 'TranslationCheckerError';
}
}
exports.TranslationCheckerError = TranslationCheckerError;
class PluginError extends TranslationCheckerError {
constructor(message, pluginName, details) {
super(message, 'PLUGIN_ERROR', details);
this.pluginName = pluginName;
this.name = 'PluginError';
}
}
exports.PluginError = PluginError;
class ConfigurationError extends TranslationCheckerError {
constructor(message, details) {
super(message, 'CONFIG_ERROR', details);
this.name = 'ConfigurationError';
}
}
exports.ConfigurationError = ConfigurationError;
//# sourceMappingURL=index.js.map
;