Class ErrorCodeExtensions
Provides extension methods on the ErrorCode enumeration.
Inherited Members
Namespace: Confluent.Kafka
Assembly: Confluent.Kafka.dll
Syntax
public static class ErrorCodeExtensions
Methods
GetReason(ErrorCode)
Returns the static error string associated with the particular ErrorCode value.
Declaration
public static string GetReason(this ErrorCode code)
Parameters
Type | Name | Description |
---|---|---|
ErrorCode | code |
Returns
Type | Description |
---|---|
string |