---
id: gk-foundation-secure-download-error
title: "Action - gk/foundation/secure-download/error"
sidebar_label: "gk/foundation/secure-download/error"
tags:
  - "1.3.0"
---

# Action: gk/foundation/secure-download/error

Fires when a download error occurs.

## Parameters

| Name | Type | Description |
|------|------|-------------|
| $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 651

