defenseunicorns / defenseunicorns/uds-cli

Error handling

Open
#784 0 comments 0 reactions 0 assignees View on GitHub
tech-debt
Dominant language
Go
Stars
54
Forks
21
Avg merge
2d 15h
Merged PRs (30d)
45

Description

### Describe what should be investigated or refactored

- Consider refactoring UDS CLI's error handling to use the `context` to enable better traceability in our errors
- Consider implementing the the [Richer Error Model](https://grpc.io/docs/guides/error/)
- https://github.com/dapr/dapr/blob/master/pkg/api/errors/README.md

Contributor guide

Open the contributing guide

Research direction

Start by reading the issue's linked gRPC Richer Error Model guidance and pkg/api/errors/README.md. Then inspect the UDS CLI error paths and how context is currently used. Done requires an agreed refactoring scope and a clear decision on whether to implement the richer error model.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.