dart_exceptor 1.1.2 copy "dart_exceptor: ^1.1.2" to clipboard
dart_exceptor: ^1.1.2 copied to clipboard

A lightweight, idiomatic Dart result type. Built on Dart 3 with zero dependencies. Features Trace<T,E>, Ok, Err, split, map, mapError and bind.

1.0.0 #

  • Initial release
  • Trace<T, E> abstract base type
  • Ok<T, E> — success implementation
  • Err<T, E> — failure implementation
  • split — terminal handler for both outcomes
  • map — extract and transform success value
  • mapError — extract and transform error value
  • bind<B> — chain operations with type transformation

1.1.0 #

  • Optimization

1.1.1 #

  • Added Repositiory link

1.1.2 #

  • Added useage example in main.dart
4
likes
150
points
146
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A lightweight, idiomatic Dart result type. Built on Dart 3 with zero dependencies. Features Trace<T,E>, Ok, Err, split, map, mapError and bind.

Repository (GitHub)
View/report issues

License

MIT (license)

More

Packages that depend on dart_exceptor