Components

error

<error />

Constructor

# <error />

Redux component in charge of react Error component state - state : { status: {string}, error: {object} }

Properties:
Name Type Description
add function

Add an error

clear function

Remove errors encountered by a component

View Source features/error.js, line 27

Members

# static add

Add an error to error state

View Source features/error.js, line 45

Example
`errorAction.add( errorObject = { what: "date", why: "tooShort", output: "inputId"} )` 

# static clear

Remove errors encountered by a component

View Source features/error.js, line 80

Example
`errorAction.clear("inputId")`