-
Notifications
You must be signed in to change notification settings - Fork 0
Function.errAsync
GitHub Actions edited this page Mar 5, 2025
·
27 revisions
resultar / errAsync
errAsync<
T,E>(err):ResultAsync<T,E>
Defined in: result-async.ts:469
Returns a ResultAsync instance that is immediately resolved with a Result.err(error).
• T = never
• E = unknown
E
ResultAsync<T, E>
A ResultAsync instance with the given error and value type T.
errAsync<
T,E>(err):ResultAsync<T,void>
Defined in: result-async.ts:469
Returns a ResultAsync instance that is immediately resolved with a Result.err(error).
• T = never
• E extends void = void
void
ResultAsync<T, void>
A ResultAsync instance with the given error and value type T.