import { type ErrorFluxStandardActionAuto } from "https://deno.land/x/flux_standard_action@v1.0.0/mod.ts";
A Flux Standard Error action with inferred requirements for the payload and metadata properties.
The payload
and meta
properties will be required if the corresponding type argument
if not the undefined
type.
Note: The payload
property will always be required, since the CustomError
type argument does
not allow for specification of the undefined
type.
definition: Meta extends undefined ? ErrorFluxStandardActionWithPayload<Type, CustomError, Meta> : ErrorFluxStandardActionWithPayloadAndMeta<Type, CustomError, Meta>