crabmusket / gosunspec

SunSpec domain model and use cases for Go. UNMAINTAINED
BSD 3-Clause "New" or "Revised" License
2 stars 6 forks source link

Return network errors instead of generic "not a sunspec device" #46

Closed andig closed 4 years ago

andig commented 5 years ago

Rationale: allow clients to react to network errors and signal those to users. Previously, it would always return "not a sunspec device" which is very opaque and does not return enough information.