---
title: "resume(throwing:)"
framework: Swift
role: symbol
role_heading: Instance Method
platforms: [iOS 27.0+, iPadOS 27.0+, Mac Catalyst 27.0+, macOS 27.0+, tvOS 27.0+, visionOS 27.0+, watchOS 27.0+]
path: "swift/continuation/resume(throwing:)"
---

# resume(throwing:)

Resume the task awaiting the continuation by having it throw an error from its suspension point

## Declaration

```swift
consuming func resume(throwing error: Failure)
```

## Parameters

- `error`: The error to throw from the continuation
