Skip to content

Function.err

GitHub Actions edited this page Oct 24, 2024 · 23 revisions

resultar / err

Function: err()

err<T, E>(error): Result<T, E>

Type Parameters

T = never

E = unknown

Parameters

error: E

Returns

Result<T, E>

Defined in

result.ts:570