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.



60
61
62
# File 'lib/openc3/top_level.rb', line 60

def cmd_name
  @cmd_name
end

#target_nameObject

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_sObject



62
63
64
# File 'lib/openc3/top_level.rb', line 62

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