RegistryHttpError#
- exception kafkit.registry.RegistryHttpError(status_code, *args, error_code=None, message=None)#
A base exception that includes metadata about the HTTP response.
- Parameters:
status_code (
int
) – The HTTP status code.*args (
Any
) – A custom, arbitrary, error message. Setting this overridesmessage
.error_code (
int
, optional) – The Confluent Schema Registry error code. See https://docs.confluent.io/current/schema-registry/docs/api.html#errorsmessage (
str
, optional) – The error message, intended to be themessage
field in Schema Registry error responses.