@kafkajs/confluent-schema-registry
Version:
ConfluentSchemaRegistry is a library that makes it easier to interact with the Confluent schema registry, it provides convenient methods to encode, decode and register new schemas using the Apache Avro serialization format.
15 lines (14 loc) • 747 B
TypeScript
declare class ConfluentSchemaRegistryError extends Error {
constructor(error: any);
}
declare class ConfluentSchemaRegistryArgumentError extends ConfluentSchemaRegistryError {
}
declare class ConfluentSchemaRegistryCompatibilityError extends ConfluentSchemaRegistryError {
}
declare class ConfluentSchemaRegistryInvalidSchemaError extends ConfluentSchemaRegistryError {
}
declare class ConfluentSchemaRegistryValidationError extends ConfluentSchemaRegistryError {
paths: string[][];
constructor(error: any, paths: string[][]);
}
export { ConfluentSchemaRegistryError, ConfluentSchemaRegistryArgumentError, ConfluentSchemaRegistryCompatibilityError, ConfluentSchemaRegistryInvalidSchemaError, ConfluentSchemaRegistryValidationError, };