set_error_state
Description:
Sets the state to the corresponding error in the library.
Parameters:
| state |
The error state |
| error |
The error enum |
Sets the state to the corresponding error in the library.
| state |
The error state |
| error |
The error enum |