Cerbos JavaScript SDK
    Preparing search index...

    Interface ValidationError

    An error that occurred while validating the principal or resource attributes against a schema.

    interface ValidationError {
        message: string;
        path: string;
        source: ValidationErrorSource;
    }
    Index

    Properties

    Properties

    message: string

    The error message.

    path: string

    The path to the attribute that failed validation.

    The source of the invalid attributes.