BetaA client-side validation rule failed. Nothing was sent.
The server refused the file and said why. See code. A 413 with no
structured reason is reported here as file-too-large.
The request failed, or the server answered without a structured reason, such as a network error, a 5xx, or a proxy error page.
FileUploadHandle.cancel was called before the upload finished.
Category of an upload failure.
Branch on this for UI flow, and on FileUploadError.code for the message.