You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is this the canonical way to check if a response is an error or not? If so, what's the best way to pinpoint what kind of error it was? Check the exception_code against ModbusExceptions?
Note sure how the API could be improved, but would be nice if there were some more examples of error handling in the examples (which are great!).
The text was updated successfully, but these errors were encountered:
In some of the examples I've seen e.g:
Is this the canonical way to check if a response is an error or not? If so, what's the best way to pinpoint what kind of error it was? Check the
exception_code
againstModbusExceptions
?Note sure how the API could be improved, but would be nice if there were some more examples of error handling in the examples (which are great!).
The text was updated successfully, but these errors were encountered: