Exception: UniversalGitClient::Errors::HttpError
- Inherits:
-
StandardError
- Object
- StandardError
- UniversalGitClient::Errors::HttpError
- Defined in:
- lib/universal-git-client/errors.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(msg, response) ⇒ HttpError
constructor
A new instance of HttpError.
Constructor Details
#initialize(msg, response) ⇒ HttpError
Returns a new instance of HttpError.
6 7 8 9 |
# File 'lib/universal-git-client/errors.rb', line 6 def initialize(msg, response) @response = response super(msg) end |
Instance Attribute Details
#response ⇒ Object (readonly)
Returns the value of attribute response.
4 5 6 |
# File 'lib/universal-git-client/errors.rb', line 4 def response @response end |