---
title: SHError
framework: shazamkit
role: symbol
role_heading: Structure
path: shazamkit/sherror
---

# SHError

An error type that you create, or the system creates, to indicate problems with a catalog, match attempt, or signature, or when saving to a user’s Shazam library.

## Declaration

```swift
struct SHError
```

## Topics

### Inspecting an error

- [SHError.Code](shazamkit/sherror/code.md)
- [Error Constants](shazamkit/error-constants.md)

### Type Properties

- [errorDomain](shazamkit/sherror/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)
