KafkaError
public struct KafkaError: RawRepresentable, Equatable, Hashable, Error, CustomStringConvertible
Representation of errors that can be thrown by KituraKafka. This maps the underlying rdKafka errors
-
Create a KafkaError from an rdKafka error code.
Declaration
Swift
public init(rawValue: Int) -
The error code.
Declaration
Swift
public var rawValue: Int -
Required for RawRepresentable.
Declaration
Swift
public typealias RawValue = Int -
The human readable error description.
Declaration
Swift
public let description: String
KafkaError Structure Reference