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

Propagate custom error codes in error responses #917

Open
mattias-p opened this issue Nov 23, 2021 · 0 comments
Open

Propagate custom error codes in error responses #917

mattias-p opened this issue Nov 23, 2021 · 0 comments
Labels
A-Documentation Area: Documentation only.
Milestone

Comments

@mattias-p
Copy link
Member

mattias-p commented Nov 23, 2021

In #819 custom error codes were requested. In #847 they were implemented, except for the last step. They aren't being used in the JSON-RPC response. This is due to lacking support in JSON::RPC. @blacksponge has offered a patch to fix that (lestrrat-p5/JSON-RPC#14) but it hasn't been processed. Presumably because JSON::RPC is up for adoption (see https://metacpan.org/dist/JSON-RPC).

One way forward would be to adopt JSON::RPC.

@mattias-p mattias-p changed the title Document new error codes in API documentation Propagate custom error codes in error responses Nov 23, 2021
@matsduf matsduf added this to the v2022.1 milestone Nov 23, 2021
@matsduf matsduf added the A-Documentation Area: Documentation only. label Nov 23, 2021
@matsduf matsduf modified the milestones: v2022.1, v2022.2 May 22, 2022
@matsduf matsduf modified the milestones: v2022.2, v2023.1 Dec 20, 2022
@matsduf matsduf modified the milestones: v2023.1, v2023.2 Jun 18, 2023
@matsduf matsduf modified the milestones: v2023.2, v2024.1 Mar 19, 2024
@matsduf matsduf modified the milestones: v2024.1, v2024.2 Jul 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Documentation Area: Documentation only.
Projects
None yet
Development

No branches or pull requests

2 participants