UNPKG

@golevelup/nestjs-rabbitmq

Version:
28 lines 785 B
/** * Custom error thrown when an RPC request times out waiting for a response. */ export declare class RpcTimeoutError extends Error { readonly timeout: number; readonly exchange: string; readonly routingKey: string; constructor(timeout: number, exchange: string, routingKey: string); } /** * Custom error thrown when a message is null or undefined. */ export declare class NullMessageError extends Error { constructor(); } /** * Custom error thrown when a channel is not available. */ export declare class ChannelNotAvailableError extends Error { constructor(); } /** * Custom error thrown when a connection is not available. */ export declare class ConnectionNotAvailableError extends Error { constructor(); } //# sourceMappingURL=errors.d.ts.map