Skip to main content

Module error

Module error 

Source
Expand description

Error types for Krafka.

This module provides structured error types for all Krafka operations.

Structs§

ArcError
Wraps an Arc<dyn Error> so that thiserror’s #[source] attribute can chain it through the standard std::error::Error::source() API.

Enums§

ErrorCode
Kafka protocol error codes.
KrafkaError
The main error type for Krafka operations.
ProtocolErrorKind
Structured classification of KrafkaError::Protocol errors.
RecvError
Error returned by Consumer::recv().

Type Aliases§

Result
A specialized Result type for Krafka operations.