GitHub

DAFF_CUSTOMER_ERROR_MATCHER

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

import { DAFF_CUSTOMER_ERROR_MATCHER } from '@daffodil/customer/state'
const DAFF_CUSTOMER_ERROR_MATCHER: undefined