Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose modbus exceptions as python exceptions #8

Closed
wants to merge 1 commit into from

Conversation

russss
Copy link

@russss russss commented Jul 17, 2016

I'm wrestling with a particularly uncooperative modbus device and I needed to get clearer visibility into which modbus exceptions it was returning. This PR adds specific exceptions for the Slave busy and NACK exceptions. More may follow.

These exceptions inherit from ValueError so existing code which catches that will be unaffected.

@pyhys pyhys added this to the 1.0 milestone Aug 8, 2016
@pyhys
Copy link
Owner

pyhys commented Aug 3, 2019

This will be implemented in next release.

@pyhys pyhys closed this Aug 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants