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

Return error when the thermostatSummary API returns non-2xx status #11

Merged
merged 1 commit into from
Sep 14, 2018

Conversation

cfunkhouser
Copy link
Owner

When the thermostatSummary API returns a non-OK status code, return the details as a Go error to be handled by callers of Client.ThermostatSummary().

@cfunkhouser cfunkhouser merged commit 8799242 into master Sep 14, 2018
@cfunkhouser cfunkhouser deleted the errors branch September 14, 2018 16:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants