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.
Thanks for your suggestions @inaSteinmetz .
We partially addressed this issue by improving the error messages for strings.
For the remaining, we first need to discuss how to implement it.
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:
This improvement would greatly facilitate problem solving and understanding of issues.