Sha256: 2b3c12b68ee31ab7149be206d1d88bfe7a58613a3fe4664080fc59f2a544deda

Contents?: true

Size: 164 Bytes

Versions: 10

Compression:

Stored size: 164 Bytes

Contents

module Almodovar
  class HttpError < Exception
    def initialize(response, url)
      super("Status code #{response.status} on resource #{url}")
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
almodovar-1.1.0 lib/almodovar/errors.rb
almodovar-1.1.0-x86_64-darwin-13 lib/almodovar/errors.rb
almodovar-1.0.0 lib/almodovar/errors.rb
almodovar-1.0.0.pre lib/almodovar/errors.rb
almodovar-0.9.8 lib/almodovar/errors.rb
almodovar-0.9.7 lib/almodovar/errors.rb
almodovar-0.9.6 lib/almodovar/errors.rb
almodovar-0.9.5 lib/almodovar/errors.rb
almodovar-0.9.4 lib/almodovar/errors.rb
almodovar-0.9.3 lib/almodovar/errors.rb