You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The exception classes in this package currently don't all inherit from the same base class. This makes it difficult to "do some money calculations" and stop whenever an error occurs. For example:
Also, please don't consider these several issue reports as a bad thing; I'm considering to use this package and I want to make sure we don't run into unexpected issues down the line.
The text was updated successfully, but these errors were encountered:
The exception classes in this package currently don't all inherit from the same base class. This makes it difficult to "do some money calculations" and stop whenever an error occurs. For example:
This means as a developer I basically have to inspect the
money
code to know what exceptions can be raised. I would like to write:but I can't because I'd need to know what all those exceptions are. By introducing a base class we can catch and handle everything:
Also, please don't consider these several issue reports as a bad thing; I'm considering to use this package and I want to make sure we don't run into unexpected issues down the line.
The text was updated successfully, but these errors were encountered: