import { HttpException } from '@nestjs/common' ; export class AdaError extends HttpException { constructor ( message , errorCode , statusCode = 403 ) { super ( { message , errorCode , statusCode } , statusCode ) ; } }