InferErr
@ts-rust/std / Result / InferErr
Type Alias: InferErr<R>
type InferErr<R> = R extends Result<infer _T, infer E> ? E : never;
Defined in: packages/std/src/result/types.ts:52
Extracts the error type parameter from a Result.
Type Parameters
| Type Parameter |
|---|
|