Exception: Stella::Error
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Stella::Error
- Defined in:
- lib/stella/exceptions.rb
Direct Known Subclasses
Client::ResponseError, Config::AlreadyInitialized, InvalidOption, NoHostDefined, Testplan::Usecase::UnknownResource, Testplan::WackyRatio
Instance Method Summary collapse
-
#initialize(obj = nil) ⇒ Error
constructor
A new instance of Error.
- #message ⇒ Object
Constructor Details
#initialize(obj = nil) ⇒ Error
Returns a new instance of Error.
5 |
# File 'lib/stella/exceptions.rb', line 5 def initialize(obj=nil); @obj = obj; end |
Instance Method Details
#message ⇒ Object
6 |
# File 'lib/stella/exceptions.rb', line 6 def ; "#{self.class}: #{@obj}"; end |