BetaOptional BetacauseBetacodeSpecific reason. See FileUploadErrorCode.
Optional BetadetailContext for the failed rule, e.g. { maxSize: 52428800 } for
file-too-large or { maxLength: 128 } for filename-too-long.
BetafilenameName of the file the upload was for.
BetamessageBetanameAlways 'FileUploadError'. Prefer isFileUploadError over
comparing it.
Optional BetastackOptional BetastatusHTTP status, when the server answered.
BetatypeCategory of the failure. See FileUploadErrorType.
Error a file upload rejects with.
Example: Handle every kind of upload failure