import { daffOperationFailed } from '@daffodil/core/state'
Indicates a failed operation. Sets loading to stable and stores errors.
function daffOperationFailed<T extends DaffOperationState = DaffOperationState>(
errors: T["daffErrors"]
state: T
): T
| Parameter | errors: T["daffErrors"] |
|---|---|
| Description |
| Parameter | state: T |
|---|---|
| Description |