Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Library, Command, App - error, error propagation & logs are improved for better ux and centralized collection. #5803

Open
mrinalwadhwa opened this issue Aug 28, 2023 · 1 comment
Assignees

Comments

@mrinalwadhwa
Copy link
Member

mrinalwadhwa commented Aug 28, 2023

In this epics we should:

  • survey the current situation: which libraries are used? How errors are organized? How is the reporting done? Are we missing some data?
  • then propose guidelines around the creation of errors and logs
    • structures / boundaries / types (for example ockam / ockam_api / ockam_command are 3 nested error domains)
    • reporting (should we include a Backtrace, how to make that performant?)
  • and implement the gaps

One possible source of inspiration in the error-stack library

@nazmulidris
Copy link
Contributor

@etorreborre Here is more information in a design doc regarding this issue: https://docs.google.com/document/d/1ZUitOGXu9MSlvsLbwTk4E1wt_kmmBbpOWZqvPxWqd5w/edit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants