Sha256: 174e19b9106732ad5023f02275a0dfab72038ee9e5f52e7961138e308eb8cbd3

Contents?: true

Size: 553 Bytes

Versions: 20

Compression:

Stored size: 553 Bytes

Contents

module Weary
  class HTTPError < StandardError; end
  
  class RedirectionError < HTTPError; end
  class ClientError      < HTTPError; end
  class ServerError      < HTTPError; end
  
  class BadRequest          < ClientError; end #400
  class Unauthorized        < ClientError; end #401
  class Forbidden           < ClientError; end #403
  class NotFound            < ClientError; end #404
  class MethodNotAllowed    < ClientError; end #405
  class ResourceConflict    < ClientError; end #409
  class UnprocessableEntity < ClientError; end #422  
end

Version data entries

20 entries across 20 versions & 2 rubygems

Version Path
mwunsch-weary-0.2.0 lib/weary/exceptions.rb
mwunsch-weary-0.2.1 lib/weary/exceptions.rb
mwunsch-weary-0.2.3 lib/weary/exceptions.rb
mwunsch-weary-0.3.0 lib/weary/exceptions.rb
mwunsch-weary-0.3.1 lib/weary/exceptions.rb
mwunsch-weary-0.4.0 lib/weary/exceptions.rb
mwunsch-weary-0.4.1 lib/weary/exceptions.rb
mwunsch-weary-0.4.3 lib/weary/exceptions.rb
mwunsch-weary-0.5.0 lib/weary/exceptions.rb
weary-0.6.0 lib/weary/exceptions.rb
weary-0.5.1 lib/weary/exceptions.rb
weary-0.3.0 lib/weary/exceptions.rb
weary-0.3.1 lib/weary/exceptions.rb
weary-0.4.0 lib/weary/exceptions.rb
weary-0.4.1 lib/weary/exceptions.rb
weary-0.4.3 lib/weary/exceptions.rb
weary-0.5.0 lib/weary/exceptions.rb
weary-0.2.3 lib/weary/exceptions.rb
weary-0.2.0 lib/weary/exceptions.rb
weary-0.2.1 lib/weary/exceptions.rb