GitHub

provideDaffAuthorizenetErrorMatcher

import { provideDaffAuthorizenetErrorMatcher } from '@daffodil/authorizenet/state'

Provider function for DAFF_AUTHORIZENET_ERROR_MATCHER.

const provideDaffAuthorizenetErrorMatcher: <R extends ({ code, message, recoverable }: DaffError) => DaffStateError = ({ code, message, recoverable }: DaffError) => DaffStateError>(value: R) => ValueProvider