RegistryHttpError

exception kafkit.registry.RegistryHttpError(status_code, *args, error_code=None, message=None)

Bases: kafkit.registry.RegistryError

A base exception that includes metadata about the HTTP response.

Parameters:
status_code : int

The HTTP status code.

*args

A custom, arbitrary, error message. Setting this overrides message.

error_code : int

The Confluent Schema Registry error code. See https://docs.confluent.io/current/schema-registry/docs/api.html#errors

message : str

The error message, intended to be the message field in Schema Registry error responses.