Sha256: 9aa5fa90dfadb43835be9367ae1edc9995edae3ae0f053c9e7ee86127ea18e31

Contents?: true

Size: 710 Bytes

Versions: 8

Compression:

Stored size: 710 Bytes

Contents

module Elasticrawl
  # Base error class extends standard error.
  class Error < StandardError
    attr_reader :http_response

    def initialize(response = nil)
      @http_response = response
    end
  end

  # AWS access credentials are invalid.
  class AWSCredentialsInvalidError < Error; end

  # Config directory does not exist.
  class ConfigDirMissingError < Error; end

  # Database error accessing sqlite database.
  class DatabaseAccessError < Error; end

  # Error accessing AWS Elastic MapReduce API.
  class ElasticMapReduceAccessError < Error; end

  # Error accessing config directory.
  class FileAccessError < Error; end

  # Error accessing AWS S3 API.
  class S3AccessError < Error; end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
elasticrawl-1.1.8 lib/elasticrawl/error.rb
elasticrawl-1.1.7 lib/elasticrawl/error.rb
elasticrawl-1.1.6 lib/elasticrawl/error.rb
elasticrawl-1.1.5 lib/elasticrawl/error.rb
elasticrawl-1.1.4 lib/elasticrawl/error.rb
elasticrawl-1.1.3 lib/elasticrawl/error.rb
elasticrawl-1.1.2 lib/elasticrawl/error.rb
elasticrawl-1.1.1 lib/elasticrawl/error.rb