Type Alias FileUploadErrorCodeBeta
FileUploadErrorCode:
| "cancelled"
| "file-too-large"
| "filename-too-long"
| "name-not-allowed"
| "extension-not-allowed"
| "extension-and-content-mismatch"
| "malicious-file"
| "antimalware-scanning-failed"
| "unknown"
| string & {}
Specific reason for an upload failure.
The listed values are the rules the client and the server apply today. Any other string is a reason the server introduced later; show a generic message for those.