import { BaseException } from '@directus/shared/exceptions' ; type Extensions = { limit : number ; reset : Date ; } ; export class HitRateLimitException extends BaseException { constructor ( message , extensions ) { super ( message , 429 , 'REQUESTS_EXCEEDED' , extensions ) ; } }