v0.25.0
Minor Changes
-
0143960: Align
TaggedErrortype parameter order withcreateTaggedErrorChanged
TaggedError<TName, TCause, TContext>toTaggedError<TName, TContext, TCause>so both APIs use consistent ordering. This simplifies context-only error definitions:Before:
type NetworkError = TaggedError<"NetworkError", never, { host: string }>;
After:
type NetworkError = TaggedError<"NetworkError", { host: string }>;
Single-generic usage (
TaggedError<"Name">) is unaffected.