fileErrorMessages: {
    FILE_NOT_FOUND: string;
    NO_DOWNLOAD_URL: string;
    S3_DOWNLOAD_FAILED: string;
    S3_UPLOAD_FAILED: string;
} = ...

Contains error messages related to file operations.

These messages are used for file-not-found, file-upload, and file-download failures. The message prefix matches the error label used to distinguish the case.

Type declaration

  • FILE_NOT_FOUND: string

    Error message indicating that the requested file was not found.

  • NO_DOWNLOAD_URL: string

    Error message indicating that no download URL is available.

  • S3_DOWNLOAD_FAILED: string

    Error message indicating that the S3 download request failed.

  • S3_UPLOAD_FAILED: string

    Error message indicating that the S3 upload request failed.