pmem / pmemkv-python

Python bindings for pmemkv
https://pmem.io
BSD 3-Clause "New" or "Revised" License
13 stars 20 forks source link

Use exceptions instead of statuses #3

Closed lukaszstolarczuk closed 4 years ago

lukaszstolarczuk commented 5 years ago

We can get rid of statuses and use exceptions instead. Perhaps the only method(s) to return something will be get method(s).

igchor commented 4 years ago

Right now, we throw exceptions in case of error and return status otherwise. This return can be removed.