RexOps / RexOps/Rex

Better error handling

Open
#991 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

help wanted task
Dominant language
Perl
Stars
737
Forks
214
PR merge metrics
No merged PRs in 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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are identified in the issue. Start by reading linked issues #959, #949, #671, #477, #489, and #343 to understand the existing exception paths and requirements; the work is done when exception behavior and separate novice and developer error messages are defined and implemented consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
perl
Domain
devops, tooling
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.