We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f27f333 commit 1b146bdCopy full SHA for 1b146bd
Sources/Kafka/KafkaError.swift
@@ -17,7 +17,9 @@ import Crdkafka
17
/// An error that can occur on `Kafka` operations
18
///
19
/// - Note: `Hashable` conformance only considers the ``KafkaError/code``.
20
-public struct KafkaError: Error, CustomStringConvertible {
+public struct KafkaError: Error, CustomStringConvertible, @unchecked Sendable {
21
+ // Note: @unchecked because we use a backing class for storage (copy-on-write).
22
+
23
private var backing: Backing
24
25
/// Represents the kind of error that was encountered.
0 commit comments