Skip to content

Public documentation of built-in error codes? #862

Description

@fbiville

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions