Exception: DisabledError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/openc3/top_level.rb

Overview

If a disabled command is sent through the OpenC3::Api this error is raised.

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#cmd_nameObject

Returns the value of attribute cmd_name.



55
56
57
# File 'lib/openc3/top_level.rb', line 55

def cmd_name
  @cmd_name
end

#target_nameObject

Returns the value of attribute target_name.



54
55
56
# File 'lib/openc3/top_level.rb', line 54

def target_name
  @target_name
end

Instance Method Details

#to_sObject



57
58
59
# File 'lib/openc3/top_level.rb', line 57

def to_s
  "#{target_name} #{cmd_name} is Disabled"
end