GeoLeaf Core API - v3.0.0
    Preparing search index...

    Options common to every validator: whether a failure is reported or thrown.

    interface ValidatorOptions {
        throwOnError?: boolean;
    }

    Hierarchy (View Summary)

    Index

    Properties

    Properties

    throwOnError?: boolean

    Throw a ValidationError instead of returning { valid: false }. Defaults to false, which is what makes the validators usable in a boolean expression.