@nestjs/microservices
Version:
Nest - modern, fast, powerful node.js web framework (@microservices)
15 lines (14 loc) • 570 B
TypeScript
import { RpcException } from './rpc-exception';
/**
* Exception that instructs Kafka driver to instead of introspecting
* error processing flow and sending serialized error message to the consumer,
* force bubble it up to the "eachMessage" callback of the underlying "kafkajs" package
* (even if interceptors are applied, or an observable stream is returned from the message handler).
*
* A transient exception that if retried may succeed.
*
* @publicApi
*/
export declare class KafkaRetriableException extends RpcException {
getError(): string | object;
}