persandstrom / python-verisure

A python module for reading and changing status of verisure devices through verisure app api.
MIT License
139 stars 42 forks source link

Differentiate response errors #170

Closed niro1987 closed 1 year ago

niro1987 commented 1 year ago

Please review these changes.

request wrapper now differentiates between different types of errors.

persandstrom commented 1 year ago

Something is missing now. A default action must be taken if non of the statements are true. An exception for unknown response?

niro1987 commented 1 year ago

The default action is the Unknown Error

persandstrom commented 1 year ago

You are correct!