import { HttpException, HttpStatus } from '@nestjs/common' export class SubscriptionTransactionError extends HttpException { constructor(code: string, message: string) { super( { status: HttpStatus.UNPROCESSABLE_ENTITY, humanized_message: message, code, message, }, HttpStatus.UNPROCESSABLE_ENTITY, ) } }