Interface ParseOptions

Options used during parsing.

interface ParseOptions {
    context?: any;
    earlyReturn?: boolean;
    messages?: {
        [code: string | number]: Message | Any;
    };
}

Properties

context?: any

The custom context.

earlyReturn?: boolean

If true then parsing is aborted after the first issue is encountered.

false
messages?: {
    [code: string | number]: Message | Any;
}

The map from an error code to a default issue message.