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

Parse stratum api reject reason #472

Merged
merged 2 commits into from
Dec 9, 2024
Merged

Conversation

mutatrum
Copy link
Contributor

Initial implementation of parsing reject reasons as discussed in #264. It can handle two formats, the error array and the reject-reason string. If other flavours are found, it should be fairly trivial to extend the parsing.

This only handles the parsing aspect, feeding back to the front-end will be a separate issue.

I extended an existing and added a unit test, but I don't know how to run them.

@mutatrum
Copy link
Contributor Author

image

@WantClue WantClue added the help wanted Extra attention is needed label Nov 16, 2024
@WantClue WantClue requested a review from skot November 16, 2024 21:58
@WantClue WantClue merged commit 6283480 into skot:master Dec 9, 2024
1 check passed
@mutatrum mutatrum deleted the parse-reject-reason branch December 9, 2024 22:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants