Upload::error()
Throws an exception with the appropriate translated error message
Upload::error() has been marked as unstable. It might be changed in a future Kirby major or minor release without being considered a breaking change. Use with caution.
Upload::error(int $error): never
Parameters
| Name | Type | Default |
|---|---|---|
| $errorrequired | int |
no default value |
Return type
never
Exceptions
| Type | Description |
|---|---|
Exception |
Any upload error |