Class SchemaRegistryException
Exception thrown when a schema registry operation fails.
public sealed class SchemaRegistryException : ApiException, ISerializable
- Inheritance
-
SchemaRegistryException
- Implements
- Inherited Members
- Extension Methods
Constructors
SchemaRegistryException()
Initializes a new instance of the SchemaRegistryException class.
public SchemaRegistryException()
SchemaRegistryException(string)
Initializes a new instance of the SchemaRegistryException class with a message.
public SchemaRegistryException(string message)
Parameters
messagestringThe error message.
SchemaRegistryException(string, Exception)
Initializes a new instance of the SchemaRegistryException class with a message and inner exception.
public SchemaRegistryException(string message, Exception innerException)
Parameters
Properties
ErrorCode
Gets or sets the error code returned by the schema registry.
public int? ErrorCode { get; init; }
Property Value
SchemaId
Gets or sets the schema ID involved in the failed operation.
public int? SchemaId { get; init; }
Property Value
StatusCode
Gets or sets the HTTP status code returned by the schema registry.
public int? StatusCode { get; init; }
Property Value
Subject
Gets or sets the schema subject involved in the failed operation.
public string? Subject { get; init; }