The library was very tolerant when error situations where encountered. Some of these situations would result in an unrecoverable situation. For example. When during generation of the enrollment key, your enrollment key can not be stored, the app would churn on.
The consumer (Tiqr-gssp) would not be able to discern when an error occurs.
By throwing exceptions in these situations, the predictability increases greatly. Allowing the consumer of the library to decide on how to deal with those situations.
The library was very tolerant when error situations where encountered. Some of these situations would result in an unrecoverable situation. For example. When during generation of the enrollment key, your enrollment key can not be stored, the app would churn on.
The consumer (Tiqr-gssp) would not be able to discern when an error occurs.
By throwing exceptions in these situations, the predictability increases greatly. Allowing the consumer of the library to decide on how to deal with those situations.
https://www.pivotaltracker.com/story/show/181553909