UNPKG

@awesomeniko/kafka-trail

Version:

A Node.js library for managing message queue with Kafka

10 lines 274 B
class KTCustomError extends Error { status = undefined; constructor(message, statusCode) { super(message); this.name = this.constructor.name; this.status = statusCode; } } export { KTCustomError }; //# sourceMappingURL=custom-error.js.map