#[repr(i16)]
#[non_exhaustive]
pub enum ErrorCode {
Show 42 variants
UnknownServerError,
None,
Other(String),
OffsetOutOfRange,
NotLeaderForPartition,
MessageTooLarge,
PermissionDenied,
StorageError,
InvalidCreateRequest,
InvalidDeleteRequest,
SpuError,
SpuRegisterationFailed,
SpuOffline,
SpuNotFound,
SpuAlreadyExists,
TopicError,
TopicNotFound,
TopicAlreadyExists,
TopicPendingInitialization,
TopicInvalidConfiguration,
TopicNotProvisioned,
TopicInvalidName,
PartitionPendingInitialization,
PartitionNotLeader,
FetchSessionNotFoud,
LegacySmartModuleError(LegacySmartModuleError),
ManagedConnectorError,
ManagedConnectorNotFound,
ManagedConnectorAlreadyExists,
SmartModuleError,
SmartModuleNotFound {
name: String,
},
SmartModuleInvalid {
error: String,
name: Option<String>,
},
SmartModuleInvalidExports {
error: String,
kind: String,
},
SmartModuleRuntimeError(SmartModuleRuntimeError),
TableFormatError,
TableFormatNotFound,
TableFormatAlreadyExists,
DerivedStreamObjectError,
DerivedStreamNotFound(String),
DerivedStreamJoinFetchError,
DerivedStreamInvalid(String),
DerivedStreamRecursion(String, String),
}
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
UnknownServerError
None
Other(String)
OffsetOutOfRange
NotLeaderForPartition
MessageTooLarge
PermissionDenied
StorageError
InvalidCreateRequest
InvalidDeleteRequest
SpuError
SpuRegisterationFailed
SpuOffline
SpuNotFound
SpuAlreadyExists
TopicError
TopicNotFound
TopicAlreadyExists
TopicPendingInitialization
TopicInvalidConfiguration
TopicNotProvisioned
TopicInvalidName
PartitionPendingInitialization
PartitionNotLeader
FetchSessionNotFoud
LegacySmartModuleError(LegacySmartModuleError)
👎 Deprecated since 0.9.13
ManagedConnectorError
ManagedConnectorNotFound
ManagedConnectorAlreadyExists
SmartModuleError
SmartModuleNotFound
Fields
name: String
SmartModuleInvalid
SmartModuleInvalidExports
SmartModuleRuntimeError(SmartModuleRuntimeError)
TableFormatError
TableFormatNotFound
TableFormatAlreadyExists
DerivedStreamObjectError
DerivedStreamNotFound(String)
DerivedStreamJoinFetchError
DerivedStreamInvalid(String)
DerivedStreamRecursion(String, String)
Implementations
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for ErrorCode
impl UnwindSafe for ErrorCode
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more