Exception: Puppet::Rest::ResponseError
- Defined in:
- lib/puppet/rest/errors.rb
Instance Attribute Summary collapse
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Attributes inherited from Error
Instance Method Summary collapse
-
#initialize(msg, response = nil) ⇒ ResponseError
constructor
Error thrown when request status is not OK.
Constructor Details
#initialize(msg, response = nil) ⇒ ResponseError
Error thrown when request status is not OK.
9 10 11 12 |
# File 'lib/puppet/rest/errors.rb', line 9 def initialize(msg, response = nil) super(msg) @response = response end |
Instance Attribute Details
#response ⇒ Object (readonly)
Returns the value of attribute response.
3 4 5 |
# File 'lib/puppet/rest/errors.rb', line 3 def response @response end |