N4S4 / synology-api

A Python wrapper around Synology API
MIT License
360 stars 137 forks source link

Exceptions #125

Closed pnearing closed 1 year ago

pnearing commented 1 year ago

Code with custom exceptions. New variable USE_EXCEPTIONS, defaults to True, but if you want the old way set to False.

N4S4 commented 1 year ago

this is a great job thank you, also I think in next versions the old error codes will fade away as exceptions are more detailed