Exception: CommandError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- CommandError
- Defined in:
- lib/galaxy.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
-
#message ⇒ Object
readonly
Returns the value of attribute message.
Instance Method Summary collapse
-
#initialize(code, message) ⇒ CommandError
constructor
A new instance of CommandError.
Constructor Details
#initialize(code, message) ⇒ CommandError
Returns a new instance of CommandError.
46 47 48 49 |
# File 'lib/galaxy.rb', line 46 def initialize(code, ) @code = code @message = end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
43 44 45 |
# File 'lib/galaxy.rb', line 43 def code @code end |
#message ⇒ Object (readonly)
Returns the value of attribute message.
44 45 46 |
# File 'lib/galaxy.rb', line 44 def @message end |