import { HttpException , HttpStatus } from '@nestjs/common' ; export const throttlerMessage = 'ThrottlerException: Too Many Requests' ; publicApi export class ThrottlerException extends HttpException { constructor ( message ? ) { super ( `${ message || throttlerMessage }` , HttpStatus . TOO_MANY_REQUESTS ) ; } }