Skip to content

fx-flow v0.7.0 / flow / err

Function: err()

err<T>(err): Result<T>

Generate a fail result

Type parameters

T

Parameters

err: string

Returns

Result<T>

Source

packages/core/src/flow/result.ts:129

Released under the MIT License.