// Generated by bynkc — do not edit by hand.
// context commerce.orders

import { Ok, Err, Some, None, type Result, type Option, type ValidationError } from "../runtime.js";

export type OrderError =
    { readonly tag: "EmptyCart" }
  | { readonly tag: "TooManyItems" }
  | { readonly tag: "PaymentDeclined" };

export const OrderError = {
  EmptyCart: { tag: "EmptyCart" } as OrderError,
  TooManyItems: { tag: "TooManyItems" } as OrderError,
  PaymentDeclined: { tag: "PaymentDeclined" } as OrderError,
};

