View Issue Details

IDProjectCategoryView StatusLast Update
0004410Talerobsolete componentpublic2016-04-24 21:45
ReporterFlorian Dold Assigned ToMarcello Stanisci Resolution deadline
ImplementerReviewer 
Release signed byDeployed by 
VerifierCommunicator 
Data protection authority notification requiredNo  
CSIRT notification requiredNo  
Estimated effort (hours)Actual effort (hours)0 
Fast-trackNo
Work packagenone
PrioritynormalSeveritytweakReproducibilityhave not tried
Status closedResolutionfixed 
Product Version0.0 
Target Version0.0Fixed in Version0.0 
Summary0004410: adopt uniform error handling strategy
DescriptionError handling in the bank is a complete mess, in some places exceptions are thrown (sometimes as classes and not instances, which Python can't even catch in an "except" clause).

In some other places we use return codes, and in some we call an error rendering function directly, in a way that is completely inconsistent.

The easiest solution would be to have a set of exceptions that we always throw, and middleware that catches them and renders the error appropriately.
TagsNo tags attached.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Activities

There are no notes attached to this issue.

Issue History

Date ModifiedUsernameFieldChange
2016-04-11 21:05Florian DoldNew Issue
2016-04-11 21:05Florian DoldStatusnew => assigned
2016-04-11 21:05Florian DoldAssigned To => Marcello Stanisci
2016-04-13 22:54Christian GrothoffSeverityminor => tweak
2016-04-13 22:54Christian GrothoffProduct Version => 0.0
2016-04-13 22:54Christian GrothoffTarget Version => 0.1
2016-04-18 08:01Marcello StanisciStatusassigned => informing
2016-04-18 08:01Marcello StanisciResolutionopen => fixed
2016-04-24 21:45Christian GrothoffStatusinforming => closed
2016-04-24 21:45Christian GrothoffFixed in Version => 0.0
2016-04-24 21:45Christian GrothoffTarget Version0.1 => 0.0
2022-08-23 18:26Christian GrothoffCategorybank (demonstrator) => py bank (demonstrator, obsolete)
2023-12-03 00:23Christian GrothoffCategorypy bank (demonstrator, obsolete) => obsolete componet
2023-12-11 19:08Florian DoldCategoryobsolete componet => obsolete component