Exception: VacmanController::Error

Inherits:
StandardError
  • Object
show all
Defined in:
lib/vacman_controller/error.rb,
ext/vacman_controller/main.c

Overview

Represents a Vacman Controller Library error.

Instance Attribute Summary collapse

Instance Attribute Details

#error_codeObject (readonly)

The error code returned by the AAL2 library



10
11
12
# File 'lib/vacman_controller/error.rb', line 10

def error_code
  @error_code
end

#error_messageObject (readonly)

The error message retrieved by the AAL2 library



13
14
15
# File 'lib/vacman_controller/error.rb', line 13

def error_message
  @error_message
end

#library_methodObject (readonly)

The AAL2 library method that errored



7
8
9
# File 'lib/vacman_controller/error.rb', line 7

def library_method
  @library_method
end