Sha256: c99a7408631bd89e50fc270178994aca79472362d1e217035b11da96ddabfae8

Contents?: true

Size: 213 Bytes

Versions: 4

Compression:

Stored size: 213 Bytes

Contents

module Hyperdrive
  module Errors
    class NotFound < HTTPError
      def message
        "The requested resource could not be found."
      end

      def http_status_code
        404
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
hyperdrive-0.0.7 lib/hyperdrive/errors/not_found.rb
hyperdrive-0.0.6 lib/hyperdrive/errors/not_found.rb
hyperdrive-0.0.5 lib/hyperdrive/errors/not_found.rb
hyperdrive-0.0.4 lib/hyperdrive/errors/not_found.rb