UNPKG

@nestjs/microservices

Version:

Nest - modern, fast, powerful node.js web framework (@microservices)

9 lines (8 loc) • 289 B
/** * @publicApi */ export class DrainTimeoutException extends Error { constructor(bufferedBytes, timeout) { super(`The remote peer is not reading its responses: ${bufferedBytes} byte(s) are queued for it and none of them were written out in the last ${timeout}ms`); } }