Module: Jekyll::L10n::Errors

Defined in:
lib/jekyll-l10n/errors.rb

Overview

Custom exception hierarchy for jekyll-l10n

Provides specific error types for different aspects of the localization process. All custom exceptions inherit from BaseError, which inherits from StandardError, allowing for both specific exception handling and generic error catching.

Examples:

begin
  # Some localization operation
rescue Jekyll::L10n::Errors::ExtractionError => e
  Jekyll.logger.error "Extraction failed: #{e.message}"
end

Defined Under Namespace

Classes: BaseError, ConfigurationError, ExtractionError, LibreTranslateError, PoFileError, TranslationError