Sha256: 69609fc1c95624302bcfdca82be56801bed3040007f2000117a977a7a7cc9072
Contents?: true
Size: 837 Bytes
Versions: 6
Compression:
Stored size: 837 Bytes
Contents
module Open311 # Custom error class for rescuing from all Open311 errors class Error < StandardError; end # Raised when Open311 returns a 400 HTTP status code class BadRequest < Error; end # Raised when Open311 returns a 401 HTTP status code class Unauthorized < Error; end # Raised when Open311 returns a 403 HTTP status code class Forbidden < Error; end # Raised when Open311 returns a 404 HTTP status code class NotFound < Error; end # Raised when Open311 returns a 406 HTTP status code class NotAcceptable < Error; end # Raised when Open311 returns a 500 HTTP status code class InternalServerError < Error; end # Raised when Open311 returns a 502 HTTP status code class BadGateway < Error; end # Raised when Open311 returns a 503 HTTP status code class ServiceUnavailable < Error; end end
Version data entries
6 entries across 6 versions & 1 rubygems