confluent-kafka-dotnet
Show / Hide Table of Contents

Class ErrorCodeExtensions

Provides extension methods on the ErrorCode enumeration.

Inheritance
object
ErrorCodeExtensions
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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
In this article