class Github::Error::ServiceError

def initialize(response)

Other tags:
    Api: - public

Parameters:
  • response (Hash[Symbol]) --
def initialize(response)
  @headers = response[:response_headers]
  @body    = response[:body]
  @status  = response[:status]
  @response_headers = @headers
  @response_message = @body
  super(create_message(response))
end