Class SchemaRegistryException
Represents an error returned by Confluent Schema Registry.
Implements
Inherited Members
Namespace: Confluent.SchemaRegistry
Assembly: Confluent.SchemaRegistry.dll
Syntax
public class SchemaRegistryException : HttpRequestException, ISerializable
Constructors
SchemaRegistryException(string, HttpStatusCode, int)
Initialize a new instance of SchemaRegistryException.
Declaration
public SchemaRegistryException(string message, HttpStatusCode status, int errorCode)
Parameters
Type | Name | Description |
---|---|---|
string | message | Additional information about the error. |
HttpStatusCode | status | The HTTP Status Code. |
int | errorCode | The Confluent Schema Registry error code. |
Properties
ErrorCode
An error code specific to Schema Registry of the form XXX or XXXYY. where XXX is standard http error status (400-500) and YY specific to schema registry Example: 40403 = Schema not found
Declaration
public int ErrorCode { get; }
Property Value
Type | Description |
---|---|
int |
Status
Standard HTTP response code.
Declaration
public HttpStatusCode Status { get; }
Property Value
Type | Description |
---|---|
HttpStatusCode |