20 lines
684 B
TypeScript
20 lines
684 B
TypeScript
import { CHECKOUT_ERRORS } from './checkout-errors';
|
|
import { OPERATIONS_ERRORS } from './operations-errors';
|
|
import { PLATFORM_ERRORS } from './platform-errors';
|
|
import { COMMERCE_ERRORS } from './commerce-errors';
|
|
import { B2B_ERRORS } from './b2b-errors';
|
|
import { B2B_PRICE_ERRORS } from './b2b-price-errors';
|
|
import { B2B_QUOTE_ERRORS } from './b2b-quote-errors';
|
|
import { B2B_CREDIT_ERRORS } from './b2b-credit-errors';
|
|
export const ERRORS = {
|
|
...PLATFORM_ERRORS,
|
|
...COMMERCE_ERRORS,
|
|
...CHECKOUT_ERRORS,
|
|
...OPERATIONS_ERRORS,
|
|
...B2B_ERRORS,
|
|
...B2B_PRICE_ERRORS,
|
|
...B2B_QUOTE_ERRORS,
|
|
...B2B_CREDIT_ERRORS,
|
|
} as const;
|
|
export type ErrorCode = keyof typeof ERRORS;
|