GitHub

DAFF_CUSTOMER_ORDER_ERROR_MATCHER

import { DAFF_CUSTOMER_ORDER_ERROR_MATCHER } from '@daffodil/customer-order/state'

Transforms DaffErrors into DaffStateErrors before they are serialized into state. Can be used to further refine Daffodil errors into more specific app errors.

const DAFF_CUSTOMER_ORDER_ERROR_MATCHER: InjectionToken