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

Feature: Include error codes in error responses. #142

Open
mrfelton opened this issue Jul 21, 2024 · 0 comments
Open

Feature: Include error codes in error responses. #142

mrfelton opened this issue Jul 21, 2024 · 0 comments

Comments

@mrfelton
Copy link
Contributor

Feature Description

We should include error codes in the lndk error responses. Currently we can do parsing of error message strings (e.g. the ones from here), but the confidence level that error messages won't be changed over time is less than it would be for error codes.

Design

Ideally, error responses should include both a code and a message. Message to convey human readable detail about the problem. Code to enable robust machine processing.

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

No branches or pull requests

1 participant