Skip to main content
Module

x/flux_standard_action/mod.ts>ErrorFluxStandardActionAuto

Port of flux-standard-action npm package for Deno.
type alias ErrorFluxStandardActionAuto
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.

Type Parameters

optional
Type extends string = string
optional
CustomError extends Error = Error
optional
Meta = undefined