error_or 0.0.6
error_or: ^0.0.6 copied to clipboard
Return a result ErrorOr with either a value T or an error Object.
0.0.6 4 apr 2022 #
- refactor error type ErrorOrTypeError and inherit from TypeError
0.0.5 4 apr 2022 #
- rename factory constructors to just 'value' and 'error'
0.0.4+1 4 apr 2022 #
- improve README
0.0.4 4 apr 2022 #
- use ErrorOr as mixin and remove private constructor
0.0.3 3 apr 2022 #
- rename _Success and _Failure -> _ValueWrapper and _ErrorWrapper
0.0.2+2 3 apr 2022 #
- improve class docs
0.0.2+1 3 apr 2022 #
- improve README
0.0.2 3 apr 2022 #
- use hidden success / failure pattern for non-null values
0.0.1 3 apr 2022 #
- initial release