persandstrom / python-verisure

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

Differentiate response errors #170

Closed niro1987 closed 11 months ago

niro1987 commented 11 months ago

Please review these changes.

request wrapper now differentiates between different types of errors.

persandstrom commented 11 months 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 11 months ago

The default action is the Unknown Error

persandstrom commented 11 months ago

You are correct!