type-alias / @typed/fx/Versioned

Versioned.VersionError

Extracts the error type of the version effect.

Package version
2.0.0-beta.7
Category
Type utilities
Since
1.0.0
Member of
Versioned

Import

import { Versioned } from "@typed/fx/Versioned";

Access Versioned.VersionError through the imported Versioned export. Its declaration below describes the member.

Signatures

type VersionError<T> = T extends Versioned<any, infer E, any, any, any, any, any, any> ? E : never;

Why

Extracts only the failure channel of version sampling instead of conflating it with update or current-read failures.

Ownership and lifetime

VersionError is a contract and performs no acquisition. Implementations retain the errors, services, interruption, and Scope requirements expressed by its members.

Other public imports

These import paths expose the same declaration. Each page retains its own public name and signature.

Source