---
title: BNNSGraph.Error
framework: accelerate
role: symbol
role_heading: Enumeration
path: accelerate/bnnsgraph/error
---

# BNNSGraph.Error

Error codes that a graph context throws.

## Declaration

```swift
enum Error
```

## Topics

### Error codes

- [BNNSGraph.Error.unableToCreateContext](accelerate/bnnsgraph/error/unabletocreatecontext.md)
- [BNNSGraph.Error.unableToCreateGraph](accelerate/bnnsgraph/error/unabletocreategraph.md)
- [BNNSGraph.Error.unableToExecute](accelerate/bnnsgraph/error/unabletoexecute.md)
- [BNNSGraph.Error.unableToSetDynamicShapes](accelerate/bnnsgraph/error/unabletosetdynamicshapes.md)

### Enumeration Cases

- [BNNSGraph.Error.unableToMakeGraph(_:)](accelerate/bnnsgraph/error/unabletomakegraph(_:).md)

## Relationships

### Conforms To

- [Error](swift/error.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
