@awesomeniko/kafka-trail
Version:
A Node.js library for managing message queue with Kafka
19 lines • 520 B
JavaScript
export class KTSchemaValidationError extends Error {
source;
details;
constructor(params) {
super(params.message);
this.name = 'KTSchemaValidationError';
this.source = params.source;
this.details = params.details;
}
}
export class KTSchemaRegistryError extends Error {
details;
constructor(params) {
super(params.message);
this.name = "KTSchemaRegistryError";
this.details = params.details;
}
}
//# sourceMappingURL=schema-errors.js.map