anyhow 0.8.0
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.
We analyzed this package 19 hours ago, and awarded it 140 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too long.
Search engines display only the first part of the description. Try to keep the value of the description
field in your package's pubspec.yaml
file between 60 and 180 characters.
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: MIT
.
10/10 points: 20% or more of the public API has dartdoc comments
166 out of 237 API elements (70.0 %) have documentation comments.
Some symbols that are missing documentation: anyhow
, anyhow.AnyhowErrExtensions
, anyhow.AnyhowFutureResultExtension
, anyhow.AnyhowFutureResultExtension.context
, anyhow.AnyhowFutureResultExtension.withContext
.
10/10 points: Package has an example
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
- ✓ Android
- ✓ iOS
- ✓ Windows
- ✓ Linux
- ✓ macOS
- ✓ Web
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 15 issues. Showing the first 2:
INFO: The type parameter 'S' shadows a type parameter from the enclosing extension.
lib/src/anyhow/anyhow_extensions.dart:122:16
╷
122 │ Err<S> toErr<S>() {
│ ^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/anyhow/anyhow_extensions.dart
INFO: The type parameter 'E' shadows a type parameter from the enclosing extension.
lib/src/anyhow/anyhow_extensions.dart:132:16
╷
132 │ Err<E> toErr<E>() {
│ ^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/anyhow/anyhow_extensions.dart
10/10 points: All of the package dependencies are supported in the latest version
No dependencies.
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade
does not expose any static analysis error.
Analyzed with Pana 0.22.7
, Dart 3.4.4
.
Check the analysis log for details.