onelogin / onelogin-php-sdk

MIT License
12 stars 18 forks source link

Throw exceptions on error #11

Open bjoern-tantau opened 4 years ago

bjoern-tantau commented 4 years ago

It would be great if API errors actually resulted in exceptions being thrown. Otherwise we manually have to check for errors after every call.

You could raise the major version or make that behavior configurable to not break compatibility.