class Freefeed::Error
Constants
- BadGateway
- BadRequest
- ClientError
- ERRORS
- Forbidden
- GatewayTimeout
- InternalServerError
- NotAcceptable
- NotFound
- RequestEntityTooLarge
- ServerError
- TooManyRequests
- UnprocessableEntity
Public Class Methods
for(response)
click to toggle source
TODO: Populate error object with details
# File lib/freefeed/error.rb, line 38 def self.for(response) ERRORS[response.code] end