yellowbean / AbsBox

a cashflow engine wrapper for structured finance professionals
https://pypi.org/project/absbox/
Apache License 2.0
35 stars 4 forks source link

Add Exception message #53

Open yellowbean opened 7 months ago

yellowbean commented 7 months ago

Current

There is only one RuntimeError in the package

The package just throw everything as RuntimeError ,expectially if the error was originated from Hastructure , which is less human friendly to Non-Haskeller .

Propose solution

yellowbean commented 4 months ago

requires : https://github.com/yellowbean/Hastructure/issues/159

yellowbean commented 4 months ago

The problem is so far:

Hastructure can throw error , but Servant failed to catch such error , so HTTP response is interruptted, absbox can not get exception message from Hastructure . That's why there is a lot of "ngix" error from absbox.org