Exception: DisabledError
- 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
-
#cmd_name ⇒ Object
Returns the value of attribute cmd_name.
-
#target_name ⇒ Object
Returns the value of attribute target_name.
Instance Method Summary collapse
Instance Attribute Details
#cmd_name ⇒ Object
Returns the value of attribute cmd_name.
60 61 62 |
# File 'lib/openc3/top_level.rb', line 60 def cmd_name @cmd_name end |
#target_name ⇒ Object
Returns the value of attribute target_name.
59 60 61 |
# File 'lib/openc3/top_level.rb', line 59 def target_name @target_name end |
Instance Method Details
#to_s ⇒ Object
62 63 64 |
# File 'lib/openc3/top_level.rb', line 62 def to_s "#{target_name} #{cmd_name} is Disabled" end |