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

Public documentation of built-in error codes? #862

Open
fbiville opened this issue Sep 22, 2023 · 0 comments
Open

Public documentation of built-in error codes? #862

fbiville opened this issue Sep 22, 2023 · 0 comments

Comments

@fbiville
Copy link
Contributor

Exposing error codes is awesome, thanks for that!

I was initially thinking of including the error code in the validation error message I expose to the user of my integration.

However, since there don't seem to be any public document listing built-in error codes and what they mean (apart from reading the raw source of com.networknt.schema.ValidatorTypeCode), I'm not sure there is value in exposing that.

Is there a plan to have an online document with a list of built-in error codes and they mean?
If there was, I could include the link in the error description e.g.

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