Skip to main content

app_failure 1.0.1 copy "app_failure: ^1.0.1" to clipboard
app_failure: ^1.0.1 copied to clipboard

Declarative failure handling for Dart and Flutter apps with layered cause chains and processing intent.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add app_failure

With Flutter:

 $ flutter pub add app_failure

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  app_failure: ^1.0.1

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:app_failure/app_failure.dart';
0
likes
150
points
37
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Declarative failure handling for Dart and Flutter apps with layered cause chains and processing intent.

Repository (GitHub)
View/report issues

Topics

#error-handling #failure #clean-architecture #result #flutter

License

MIT (license)

Dependencies

meta

More

Packages that depend on app_failure