Skip to main content

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

NameTypeDescription
$error_responsearray|nullError response data or null if handled.
↳ $codeintHTTP status code.
↳ $messagestringError message.
$exception\ExceptionThe exception that was thrown.
$tokenstringThe download token that was provided.

Since

  • 1.3.0

Source

Defined in Components/SecureDownload.php at line 626