Skip to content

Improve Specificity of Error Messages for Pattern Mismatches #74

@inaSteinmetz

Description

@inaSteinmetz

In version 0.6.0, error messages for attributes that did not match patterns were more specific. For example, for idShorts, the system provided a message like "longer than 18 characters.". However, in version 1.0.0, the messages have been simplified to "does not match pattern."

To improve problem-solving, I recommend enhancing the error messages by including specific details, either within the message or as a separate field. Additionally, providing a reference to the rule causing the error would be beneficial.

Proposed Error Message Structure:

  • Error Path
  • Message
  • Level
  • Details
  • Reference Rule

This improvement would greatly facilitate problem solving and understanding of issues.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels
    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions