Filter: gk/foundation/secure-download/error-response
Filters the download error response.
Return null to indicate the error has been handled and prevent default processing.
Parameters
| Name | Type | Description |
|---|---|---|
| $error_response | array|null | Error response data or null if handled. |
| ↳ $code | int | HTTP status code. |
| ↳ $message | string | Error message. |
| $exception | \Exception | The exception that was thrown. |
| $token | string | The download token that was provided. |
Since
- 1.3.0
Source
Defined in Components/SecureDownload.php at line 626