Sha256: 9de4c0dec68e07bc5c871883f8714ebcfeafc9fcee041bc0c5e035b2d5c003aa

Contents?: true

Size: 374 Bytes

Versions: 1

Compression:

Stored size: 374 Bytes

Contents

module Postmates
  class Error       < StandardError; end # custom Postmates error class
  class BadRequest          < Error; end # 400
  class Unauthorized        < Error; end # 401
  class Forbidden           < Error; end # 403
  class NotFound            < Error; end # 404
  class InternalServerError < Error; end # 500
  class ServiceUnavailable  < Error; end # 503
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
postmates-0.1.0 lib/postmates/error.rb