Sha256: 0be8f1db72b8ef81105b734f426b67f4532e6330aa7270f3c962e0dcdf10df8f
Contents?: true
Size: 399 Bytes
Versions: 2
Compression:
Stored size: 399 Bytes
Contents
module Repia module Errors # List of HTTP Errors class HTTPError < StandardError; end class BadRequest < HTTPError; STATUS_CODE = 400; end class Unauthorized < HTTPError; STATUS_CODE = 401; end class NotFound < HTTPError; STATUS_CODE = 404; end class Conflict < HTTPError; STATUS_CODE = 409; end class InternalServerError < HTTPError; STATUS_CODE = 500; end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
repia-0.0.2 | lib/repia/errors.rb |
repia-0.0.1 | lib/repia/errors.rb |