class Freefeed::Error

Constants

BadGateway
BadRequest
ClientError
ERRORS
Forbidden
GatewayTimeout
InternalServerError
NotAcceptable
NotFound
RequestEntityTooLarge
ServerError
ServiceUnavailable
TooManyRequests
Unauthorized
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