|
Mercury2 Hardware Manager
1.0dev
The hardware manager component of the Mercury2 ground station suite.
|
A general purpose exception thrown in the event that a command fails. More...
Public Member Functions | |
| def | __init__ |
| Sets up the command error. More... | |
| def | __str__ |
Public Attributes | |
| message | |
| error_parameters | |
A general purpose exception thrown in the event that a command fails.
It allows command handlers to embed additional metadata with the failure in the form of a dictionary passed to the exception.
| def hwm.command.command.CommandError.__init__ | ( | self, | |
| command_error_message, | |||
error_data = None |
|||
| ) |
Sets up the command error.
| command_error_message | A string summarizing the failure. |
| error_data | A simple dictionary containing additional fields to be passed with the error response. |