UploadInputErrorReason

Entries

Link copied to clipboard

The step needs both sides of the ID and no back side was given.

Link copied to clipboard

A file has no bytes, or none could be read from UploadFile.openStream.

Link copied to clipboard

A file's bytes aren't a type the step accepts: JPEG or PNG for an ID, and one of the chosen document's AllowedDocument.allowedFileTypes otherwise. Engine reads the bytes, as the backend does, not UploadFile.contentType.

Link copied to clipboard

A file is over the backend's 20 MiB limit, going by UploadFile.sizeBytes. A file of unknown size is sent, and the backend's refusal comes back as a recoverable EngineError.StepValidation.

Link copied to clipboard

The step allows more than one document and none was chosen.

Link copied to clipboard

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.