Libraries
    Preparing search index...

    Type Alias ValidationErrorMessageProvider<TSchema>

    ValidationErrorMessageProvider:
        | string
        | (
            (
                seenValue: InferType<TSchema>,
                schema: TSchema,
            ) => string | Promise<string>
        )

    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.

    Type Parameters