Exception: CircleCI::CoverageReporter::RequestError

Inherits:
Error
  • Object
show all
Defined in:
lib/circleci/coverage_reporter/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, resp) ⇒ RequestError

Returns a new instance of RequestError.

Parameters:

  • message (String)
  • resp (Faraday::Response)


10
11
12
13
14
# File 'lib/circleci/coverage_reporter/errors.rb', line 10

def initialize(message, resp)
  @message = message
  @resp = resp
  super(message)
end

Instance Attribute Details

#respObject (readonly)

Returns the value of attribute resp.



6
7
8
# File 'lib/circleci/coverage_reporter/errors.rb', line 6

def resp
  @resp
end