penisularhr / src / exceptions / incentive.ts
incentive.ts
Raw
import { NotFoundException } from '@nestjs/common';

export class IncentiveSettingNotFoundException extends NotFoundException {
  constructor(error?: string) {
    super('Incentive setting not found', error);
  }
}

export class IncentiveRecordNotFoundException extends NotFoundException {
  constructor(error?: string) {
    super('Incentive record not found', error);
  }
}