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.
55 56 57 |
# File 'lib/openc3/top_level.rb', line 55 def cmd_name @cmd_name end |
#target_name ⇒ Object
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_s ⇒ Object
57 58 59 |
# File 'lib/openc3/top_level.rb', line 57 def to_s "#{target_name} #{cmd_name} is Disabled" end |