Sha256: 85c2e7d3262a4496036e568b3bd466e4498c18e92fab6d4a17399a0ddf1f97c8

Contents?: true

Size: 351 Bytes

Versions: 3

Compression:

Stored size: 351 Bytes

Contents

module Harvesting
  class AuthenticationError < StandardError
  end

  class UnprocessableRequest < StandardError
  end

  class RequestNotFound < StandardError
    def initialize(uri)
      super("The page you were looking for may have been moved or the address misspelled: #{uri}")
    end
  end

  class RateLimitExceeded < StandardError
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
harvesting-0.6.0 lib/harvesting/errors.rb
harvesting-0.5.1 lib/harvesting/errors.rb
harvesting-0.5.0 lib/harvesting/errors.rb