Skip to content
This repository was archived by the owner on Mar 12, 2020. It is now read-only.

Dynamic error priority increase#508

Open
dwfrancis wants to merge 2 commits into1000hz:masterfrom
dwfrancis:dynamic-error-priority-increase
Open

Dynamic error priority increase#508
dwfrancis wants to merge 2 commits into1000hz:masterfrom
dwfrancis:dynamic-error-priority-increase

Conversation

@dwfrancis
Copy link

If a validator error is a string, display this value before the generic error message.

If a validator returns a string, prefer it as an error message over ValidityState and Generic errors.
ValidatorSpecific errors still take precedence.
Move priority if ValidityState messages up. String responses only supersede generic errors
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant