import { CustomException } from 'src/utils/custom-exception';

export class SendEmailActionException extends CustomException {
  code: SendEmailActionExceptionCode;
  constructor(message: string, code: SendEmailActionExceptionCode) {
    super(message, code);
  }
}

export enum SendEmailActionExceptionCode {
  PROVIDER_NOT_SUPPORTED = 'PROVIDER_NOT_SUPPORTED',
  CONNECTED_ACCOUNT_NOT_FOUND = 'CONNECTED_ACCOUNT_NOT_FOUND',
}
