failtype
v1.0.0
Published
Minimal Result type for composition with other libraries.
Readme
Failtype
A minimal Result type library that composes well with ts-pattern
What happened to the previous API?
Rather than maintaining a larger API which incurs additional complexity, from
version 1 onwards failtype is only concerned with just encoding success and
failure states at the type level.
If you need syntactical sugar then the safeTry API from
neverthrow may be more suitable
for your particular requirement/s.
