|
Mercury2 Hardware Manager
1.0dev
The hardware manager component of the Mercury2 ground station suite.
|
Used to wrap command execution errors. More...
Public Member Functions | |
| def | __init__ |
| Sets up the command error. More... | |
| def | __str__ |
Public Attributes | |
| message | |
| results | |
Used to wrap command execution errors.
This exception is raised whenever a command fails to execute. It contains the error response, which specifies details about the error.
| def hwm.command.parser.CommandFailed.__init__ | ( | self, | |
| error_message, | |||
| error_response | |||
| ) |
Sets up the command error.
| error_message | A string describing the error. Normally, the error_response will just be used instead because it contains this string as well as additional details about the error, if there are any. |
| error_response | A dictionary containing meta-data about the error such as the error message and any additional attributes that may have been passed with it. |