import { daffTransformMagentoError } from '@daffodil/driver/magento'
Transforms the passed error according to the lookup in the passed map.
function daffTransformMagentoError<T extends DaffErrorCodeMap>(
error: any
map: T
): DaffError
Parameter | error: any |
---|---|
Description |
Parameter | map: T |
---|---|
Description |