anyhow 0.7.0 copy "anyhow: ^0.7.0" to clipboard
anyhow: ^0.7.0 copied to clipboard

Inspired by Rust's "anyhow" crate, this Dart package provides versatile error handling, implementing Rust's Result monad and "anyhow" crate functionality

0.7.0 #

  • Result type now has all Rust Result type methods
  • Infallible type
  • iter
  • mapOr
  • mapOrElse
  • orElse
  • isErrAnd
  • isOkAnd
  • implement all methods and extension for FutureResult
  • Default is to now collect stacktrace

0.6.2 #

  • Create stacktraces earlier when needed

0.6.1 #

  • Add Unit

0.6.0 #

  • Update "and" and "or" to be more explicit
  • Add handling for Iterable Future Result
  • Add toResultEager
  • Reverse Anyhow Error

0.5.1 #

  • Add intoFutureResult for any Result type

0.5.0 #

  • More extensions
  • Better type matching
  • intoUnchecked

0.4.0 #

  • Separate Result into base Result and anyhow Result
  • add "and" and "or"

0.3.1 #

  • Initial public release
19
likes
0
pub points
57%
popularity

Publisher

verified publishervoyver.com

Inspired by Rust's "anyhow" crate, this Dart package provides versatile error handling, implementing Rust's Result monad and "anyhow" crate functionality

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

More

Packages that depend on anyhow