RegistryHttpError¶
-
exception
kafkit.registry.
RegistryHttpError
(status_code: int, *args: Any, error_code: Optional[int] = None, message: Optional[str] = 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
, 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.