API reference / @evolu/common / Type / InferError
Type Alias: InferError<A>
type InferError<A> =
A extends Type<any, any, any, infer Error, any, any> ? Error : never;
Defined in: packages/common/src/Type.ts:442
Extracts the specific error type from a Type.
Type Parameters
| Type Parameter |
|---|
A extends AnyType |