Sha256: 6ab11136ca3f396f7bf6a92ead678f28e4d2ad9d64226f6d217386a7f5976145

Contents?: true

Size: 790 Bytes

Versions: 1

Compression:

Stored size: 790 Bytes

Contents

# encoding: UTF-8

module Rosette
  module DataStores

    # Errors that can be raised during data store operations.
    module Errors
      # Raised when an error occurs when adding a new translation.
      class AddTranslationError < StandardError; end

      # Raised when a phrase with the given attributes cannot be found.
      class PhraseNotFoundError < StandardError; end

      # Raised when the appropriate translation parameters aren't provided.
      class MissingParamError < StandardError; end

      # Raised when a commit log entry can't be updated.
      class CommitLogUpdateError < StandardError; end

      # Raised when one of the locale entries for a commit log can't be
      # updated.
      class CommitLogLocaleUpdateError < StandardError; end
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rosette-core-1.0.1 lib/rosette/data_stores/errors.rb