Documentation
    Preparing search index...

    Structure representing a file upload error

    type FileUploadError = {
        fieldName: string;
        clientName: string;
        message: string;
        type: "size" | "extname" | "fatal";
    }
    Index

    Properties

    fieldName: string

    The form field name where the error occurred

    clientName: string

    The original filename from the client

    message: string

    Error message describing what went wrong

    type: "size" | "extname" | "fatal"

    Type of error that occurred