RexOps/Rex

Better error handling

Open

#991 ouverte le 11 mars 2016

Voir sur GitHub
 (0 commentaires) (0 réactions) (0 assignés)Perl (218 forks)batch import
help wantedtask

Métriques du dépôt

Stars
 (671 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

Currently we don't have a proper error handling. We throw exceptions at multiple places, some get caught others not. Also the exceptions are just strings so a proper handling of these exception can't be guaranteed.

To solve this, we need to define a proper way to throw and catch exceptions. We also need to have more detailed error messages for 2 kind of users. One for novice users who don't know the internals and one for powerusers/developers with stacktraces and other interessting stuff.

Some linked issues: #959 #949 #671 #477 #489 #343

Guide contributeur