Lime Web Components API Documentation - v7.13.1
    Preparing search index...

    Interface FileValidationErrorBeta

    A rule the file failed.

    interface FileValidationError {
        code: FileUploadErrorCode;
        detail?: Record<string, unknown>;
        message: string;
    }
    Index

    Properties

    Properties

    The rule that failed. See FileUploadErrorCode.

    detail?: Record<string, unknown>

    Context for the rule, e.g. { maxSize: 52428800 } for file-too-large or { maxLength: 128 } for filename-too-long.

    message: string

    Default message in English. Map code to a translation instead of showing this to users.