Exception: VcsClient::VcsError
- Inherits:
-
StandardError
- Object
- StandardError
- VcsClient::VcsError
- Defined in:
- lib/vcs_client.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#response ⇒ Object
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(val) ⇒ VcsError
constructor
A new instance of VcsError.
- #inspect ⇒ Object
- #to_s ⇒ Object
Constructor Details
#initialize(val) ⇒ VcsError
Returns a new instance of VcsError.
61 62 63 |
# File 'lib/vcs_client.rb', line 61 def initialize(val) @response = val end |
Instance Attribute Details
#response ⇒ Object
Returns the value of attribute response.
59 60 61 |
# File 'lib/vcs_client.rb', line 59 def response @response end |
Instance Method Details
#inspect ⇒ Object
69 70 71 |
# File 'lib/vcs_client.rb', line 69 def inspect self.to_s end |
#to_s ⇒ Object
65 66 67 |
# File 'lib/vcs_client.rb', line 65 def to_s "#{self.class.to_s}: #{self.response}" end |