Classes
Methods
(async) exportFile(fileToExport, exportDir, optionsopt)
Export a file from the drive to the external directory path
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
fileToExport |
IVirtualFile | The file that will be exported | |
exportDir |
IFile | The external directory the file will be exported to | |
options |
FileExportOptions |
<optional> |
The options for the file export |
getError(err) → {any}
Override with your specific error transformation
Parameters:
Name | Type | Description |
---|---|---|
err |
any | The error |
Returns:
The transformed error
- Type
- any