RexOps/Rex

Better error handling

Open

#991 aberto em 11 de mar. de 2016

Ver no GitHub
 (0 comments) (0 reactions) (0 assignees)Perl (218 forks)batch import
help wantedtask

Métricas do repositório

Stars
 (671 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

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

Guia do colaborador