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.



64
65
66
# File 'lib/openc3/top_level.rb', line 64

def cmd_name
  @cmd_name
end

#target_nameObject

Returns the value of attribute target_name.



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

def target_name
  @target_name
end

Instance Method Details

#to_sObject



66
67
68
# File 'lib/openc3/top_level.rb', line 66

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