import { DomainError } from "@repo/rdx-ddd";

export class CustomerNotFoundError extends DomainError {
  public readonly code = "CUSTOMER_ID" as const;
}

export const isCustomerNotFoundError = (e: unknown): e is CustomerNotFoundError =>
  e instanceof CustomerNotFoundError;
