---
title: TKError
framework: cryptotokenkit
role: symbol
role_heading: Structure
path: cryptotokenkit/tkerror
---

# TKError

An error specific to the CryptoTokenKit framework.

## Declaration

```swift
struct TKError
```

## Topics

### Checking Error Codes

- [notImplemented](cryptotokenkit/tkerror/notimplemented.md)
- [communicationError](cryptotokenkit/tkerror/communicationerror.md)
- [corruptedData](cryptotokenkit/tkerror/corrupteddata.md)
- [canceledByUser](cryptotokenkit/tkerror/canceledbyuser.md)
- [authenticationFailed](cryptotokenkit/tkerror/authenticationfailed.md)
- [objectNotFound](cryptotokenkit/tkerror/objectnotfound.md)
- [tokenNotFound](cryptotokenkit/tkerror/tokennotfound.md)
- [badParameter](cryptotokenkit/tkerror/badparameter.md)
- [authenticationNeeded](cryptotokenkit/tkerror/authenticationneeded.md)
- [TKErrorAuthenticationFailed](cryptotokenkit/tkerror/tkerrorauthenticationfailed.md)
- [TKErrorObjectNotFound](cryptotokenkit/tkerror/tkerrorobjectnotfound.md)
- [TKErrorTokenNotFound](cryptotokenkit/tkerror/tkerrortokennotfound.md)

### Type Properties

- [errorDomain](cryptotokenkit/tkerror/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

- [TKErrorDomain](cryptotokenkit/tkerrordomain.md)
- [TKError.Code](cryptotokenkit/tkerror/code.md)
