API reference / @evolu/common / Result / InferErr
Type Alias: InferErr<R>
type InferErr<R> = R extends Err<infer E> ? E : never;
Defined in: packages/common/src/Result.ts:401
Extracts the error type from a Result.
Type Parameters
| Type Parameter |
|---|
R extends Result<any, any> |