---
title: SNError
framework: Sound Analysis
role: symbol
role_heading: Structure
platforms: [iOS 13.0+, iPadOS 13.0+, Mac Catalyst 13.1+, macOS 10.15+, tvOS 13.0+, visionOS 1.0+, watchOS 6.0+]
path: soundanalysis/snerror
---

# SNError

An error from the Sound Analysis framework.

## Declaration

```swift
struct SNError
```

## Topics

### Error Codes

- [invalidModel](soundanalysis/snerror/invalidmodel.md)
- [invalidFormat](soundanalysis/snerror/invalidformat.md)
- [invalidFile](soundanalysis/snerror/invalidfile.md)
- [operationFailed](soundanalysis/snerror/operationfailed.md)
- [unknownError](soundanalysis/snerror/unknownerror.md)

### Error Information

- [SNError.Code](soundanalysis/snerror/code.md)

### Error Domain

- [SNErrorDomain](soundanalysis/snerrordomain.md)
- [errorDomain](soundanalysis/snerror/errordomain.md)

## Relationships

### Conforms To

- [CustomNSError](foundation/customnserror.md)
- [Equatable](swift/equatable.md)
- [Error](swift/error.md)
- [Hashable](swift/hashable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Errors

- [SNError.Code](soundanalysis/snerror/code.md)
- [SNErrorDomain](soundanalysis/snerrordomain.md)
