Type of the function that provides a validation error message for the given seenValue and schema. Can be a string or a function returning a string or a promise of a string. Should be used to provide a custom validation error message.
seenValue
schema
Type of the function that provides a validation error message for the given
seenValueandschema. Can be a string or a function returning a string or a promise of a string. Should be used to provide a custom validation error message.