UNPKG

570 BTypeScriptView Raw
1import { RpcException } from './rpc-exception';
2/**
3 * Exception that instructs Kafka driver to instead of introspecting
4 * error processing flow and sending serialized error message to the consumer,
5 * force bubble it up to the "eachMessage" callback of the underlying "kafkajs" package
6 * (even if interceptors are applied, or an observable stream is returned from the message handler).
7 *
8 * A transient exception that if retried may succeed.
9 *
10 * @publicApi
11 */
12export declare class KafkaRetriableException extends RpcException {
13 getError(): string | object;
14}