forked from revspace/revbank
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
v6.2.0: Use reject/retry instead of exception for bad amount
Since the first versions of RevBank, negative and huge amounts are handled centrally, and since v2 (2013) they've been implemented through an exception that caused the pending transaction to be aborted. Since v3 (2019), RevBank has had a retry mechanism for rejected input to improve the user experience, but it required a REJECT return message from a plugin, not an exception. Now there's an exception class to trigger the same semantics.
- Loading branch information
Showing
2 changed files
with
16 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters