mirror of
https://github.com/nestjs/nest.git
synced 2026-02-21 23:11:44 +00:00
10 lines
329 B
TypeScript
10 lines
329 B
TypeScript
import { RuntimeException } from '@nestjs/core/errors/exceptions/runtime.exception';
|
|
|
|
export class InvalidKafkaClientTopicPartitionException extends RuntimeException {
|
|
constructor(topic?: string) {
|
|
super(
|
|
`The client consumer subscribed to the topic (${topic}) which is not assigned to any partitions.`,
|
|
);
|
|
}
|
|
}
|