RegistryHttpError¶
-
exception
kafkit.registry.RegistryHttpError(status_code: int, *args, error_code: Optional[int] = None, message: Optional[str] = None)¶ 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#errors - message (
str, optional) – The error message, intended to be themessagefield in Schema Registry error responses.
- status_code (