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

Versatile and idiomatic error handling capabilities to make your code safer, more maintainable, and errors easier to debug. Dart implementation of Rust's Result monad type and "anyhow" crate.

0.8.0 #

  • Make match named method

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
140
pub points
57%
popularity

Publisher

verified publishervoyver.com

Versatile and idiomatic error handling capabilities to make your code safer, more maintainable, and errors easier to debug. Dart implementation of Rust's Result monad type and "anyhow" crate.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

More

Packages that depend on anyhow