Skip to content

Add SNAFU error handling - #71

Merged
Arshdeep54 merged 1 commit into
sdslabs:refactorfrom
peopleig:error_handling
Mar 21, 2026
Merged

Arshdeep54 merged 1 commit into
sdslabs:refactorfrom
peopleig:error_handling

Conversation

@peopleig

@peopleig peopleig commented Feb 6, 2026

Copy link
Copy Markdown
Contributor

Added snafu to crates - api, defs, grpc, http, index, server, and storage

Made sure of correct mapping between internal codes and gRPC status codes.
Same with HTTP status codes
So, now the errors are exactly mapped to their respective status codes

Fixes #50

@4adex

4adex commented Mar 9, 2026

Copy link
Copy Markdown
Collaborator

change crates/grpc/src/errors.rs to crates/grpc/src/error.rs for consistent naming. Else all good.

@peopleig
peopleig force-pushed the error_handling branch 3 times, most recently from 2e159be to 59a5843 Compare March 9, 2026 10:08
@peopleig

peopleig commented Mar 9, 2026

Copy link
Copy Markdown
Contributor Author

@4adex done with the changes

@4adex

4adex commented Mar 9, 2026

Copy link
Copy Markdown
Collaborator

@Arshdeep54 good to merge from my side

@Arshdeep54
Arshdeep54 merged commit d28707a into sdslabs:refactor Mar 21, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement Error Handling using Snfau

3 participants