ValidationError
Specifies the structure of validation errors returned when file validation fails.
Props
The following table outlines the props for the ValidationError:
| Name | Type | Default | Description |
|---|---|---|---|
| code | - | Specifies the validation error code indicating the type of validation failure. | |
| file | File | - | Specifies the File object that failed validation, if applicable. |
| message | string | - | Specifies the human-readable error message describing the validation failure. |