import { catchAndArrayifyErrors } from '@daffodil/core'
Catches errors and invokes the callback with an array of errors.
const catchAndArrayifyErrors: <TReturn, TError extends DaffError = DaffError>(transformError: (errors: TError[]) => any) => any