class Flox::ServiceError
Raised when the REST service encounters an error (e.g. the server returns a HTTP code >= 400).
Attributes
response[R]
@return [Net::HTTPResponse] the complete server response
Public Class Methods
new(response)
click to toggle source
@param response [Net::HTTPResponse] the complete server response
# File lib/flox/errors.rb, line 16 def initialize(response) @response = response end