---
title: AsyncThrowingMapSequence.Failure
framework: swift
role: symbol
role_heading: Type Alias
path: swift/asyncthrowingmapsequence/failure
---

# AsyncThrowingMapSequence.Failure

The type of error produced by this asynchronous sequence.

## Declaration

```swift
typealias Failure = any Error
```

## Discussion

Discussion The map sequence produces errors from either the base sequence or the transform closure.
