Exception: Galaxy::CommandError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/galaxy.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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, message)
  @code = code
  @message = message
end

Instance Attribute Details

#codeObject (readonly)

Returns the value of attribute code.



117
118
119
# File 'lib/galaxy.rb', line 117

def code
  @code
end

#messageObject (readonly)

Returns the value of attribute message.



118
119
120
# File 'lib/galaxy.rb', line 118

def message
  @message
end