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
All errors currently returned by gotado are just plain errors. We need a proper error type for gotado that contains the error message, but also the http status code of the tado API. Errors should also properly wrap the underlying error.
The text was updated successfully, but these errors were encountered:
Remember that tado° actually returns a list of errors, see e.g.
{
"errors": [
{
"code": "zone.schedule.awayConfig.missingSetting",
"title": "User setting must be provided when auto adjust is false for heating zone."
},
{
"code": "nullable",
"title": "Property autoAdjust is required"
}
]
}
All errors currently returned by gotado are just plain errors. We need a proper error type for gotado that contains the error message, but also the http status code of the tado API. Errors should also properly wrap the underlying error.
The text was updated successfully, but these errors were encountered: