@hyperjump/json-schema-errors
    Preparing search index...

    Type Alias ErrorHandlerContext

    What error handlers need to know about the schema, how it was validated, and how to write messages.

    type ErrorHandlerContext = {
        ast: AST;
        isFormatAsserted: (
            keywordUri: string,
            format: string,
        ) => boolean | undefined;
        localization: Localization;
    }
    Index
    ast: AST
    isFormatAsserted: (keywordUri: string, format: string) => boolean | undefined

    Whether the validator treated a format keyword as an assertion rather than an annotation. It can depend on the dialect, given by the keyword URI, and on the format. undefined if it's not known.

    localization: Localization

    Builds messages in the requested locale. In a negated context, success messages describe what would make keywords fail instead of what they require.