flydrive
Version:
File storage library with unified API to manage files across multiple cloud storage providers like S3, GCS, R2 and so on
53 lines (52 loc) • 2.48 kB
TypeScript
/**
* Unable to write file to the destination
*/
export declare const E_CANNOT_WRITE_FILE: new (args: [key: string], options?: ErrorOptions) => import("@poppinss/utils/exception").Exception;
/**
* Unable to read file
*/
export declare const E_CANNOT_READ_FILE: new (args: [key: string], options?: ErrorOptions) => import("@poppinss/utils/exception").Exception;
/**
* Unable to delete file
*/
export declare const E_CANNOT_DELETE_FILE: new (args: [key: string], options?: ErrorOptions) => import("@poppinss/utils/exception").Exception;
/**
* Unable to delete directory
*/
export declare const E_CANNOT_DELETE_DIRECTORY: new (args: [key: string], options?: ErrorOptions) => import("@poppinss/utils/exception").Exception;
/**
* Unable to copy file
*/
export declare const E_CANNOT_COPY_FILE: new (args: [source: string, destination: string], options?: ErrorOptions) => import("@poppinss/utils/exception").Exception;
/**
* Unable to move file
*/
export declare const E_CANNOT_MOVE_FILE: new (args: [source: string, destination: string], options?: ErrorOptions) => import("@poppinss/utils/exception").Exception;
/**
* Unable to check the location of the file
*/
export declare const E_CANNOT_CHECK_FILE_EXISTENCE: new (args: [key: string], options?: ErrorOptions) => import("@poppinss/utils/exception").Exception;
/**
* Unable to get file metadata
*/
export declare const E_CANNOT_GET_METADATA: new (args: [key: string], options?: ErrorOptions) => import("@poppinss/utils/exception").Exception;
/**
* Unable to set file visibility
*/
export declare const E_CANNOT_SET_VISIBILITY: new (args: [key: string], options?: ErrorOptions) => import("@poppinss/utils/exception").Exception;
/**
* Unable to generate URL for a file
*/
export declare const E_CANNOT_GENERATE_URL: new (args: [key: string], options?: ErrorOptions) => import("@poppinss/utils/exception").Exception;
/**
* The file key has unallowed set of characters
*/
export declare const E_UNALLOWED_CHARACTERS: new (args: [key: string], options?: ErrorOptions) => import("@poppinss/utils/exception").Exception;
/**
* Key post normalization leads to an empty string
*/
export declare const E_INVALID_KEY: new (args: [key: string], options?: ErrorOptions) => import("@poppinss/utils/exception").Exception;
/**
* The file key has unallowed set of characters
*/
export declare const E_PATH_TRAVERSAL_DETECTED: new (args: [key: string], options?: ErrorOptions) => import("@poppinss/utils/exception").Exception;