---
title: INCancelRideIntentResponseCode.failure
framework: intents
role: symbol
role_heading: Case
path: intents/incancelrideintentresponsecode/failure
---

# INCancelRideIntentResponseCode.failure

You were unable to cancel the ride.

## Declaration

```swift
case failure
```

## Discussion

Discussion Use this code for both transient and unrecoverable errors that prevented you from canceling the ride. When specifying this code, SiriKit may fall back to other options that include letting the user cancel the ride in your app.

## See Also

### Constants

- [INCancelRideIntentResponseCode.unspecified](intents/incancelrideintentresponsecode/unspecified.md)
- [INCancelRideIntentResponseCode.ready](intents/incancelrideintentresponsecode/ready.md)
- [INCancelRideIntentResponseCode.success](intents/incancelrideintentresponsecode/success.md)
