Skip to content

Customizing error messages #2146

Description

@jangeorgiev

Feature proposal

I have noticed that currently there are no way of customizing error messages returned from AJV in LB4.
I have found that there is implementation of handling error message already - AJV-Errors.
I'll be very happy to be able to customize error messages, because some of them are extremely ugly.

Example:

See code here

The code above in case of violation of patter will return
"should match pattern "^[a-z]+$""

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions