Exception: Galaxy::CommandError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Galaxy::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.
120 121 122 123 |
# File 'lib/galaxy.rb', line 120 def initialize(code, ) @code = code @message = end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
117 118 119 |
# File 'lib/galaxy.rb', line 117 def code @code end |
#message ⇒ Object (readonly)
Returns the value of attribute message.
118 119 120 |
# File 'lib/galaxy.rb', line 118 def @message end |