Skip to main content
Module

x/flux_standard_action/mod.ts>ErrorFluxStandardAction

Port of flux-standard-action npm package for Deno.
interface ErrorFluxStandardAction
import { type ErrorFluxStandardAction } from "https://deno.land/x/flux_standard_action@v1.0.0/mod.ts";

An extension of the Flux Standard action that represents an action containing an error as its payload.

Type Parameters

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

Properties

error: true

The required error property MUST be set to true if the action represents an error.