Skip to main content

smart_api_errors_parser 1.0.0 copy "smart_api_errors_parser: ^1.0.0" to clipboard
smart_api_errors_parser: ^1.0.0 copied to clipboard

Maps inconsistent API error payloads into typed exceptions, form errors, and localized messages.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add smart_api_errors_parser

With Flutter:

 $ flutter pub add smart_api_errors_parser

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

dependencies:
  smart_api_errors_parser: ^1.0.0

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:smart_api_errors_parser/smart_api_errors_parser.dart';
0
likes
160
points
48
downloads

Documentation

API reference

Publisher

verified publisherpinz.dev

Weekly Downloads

Maps inconsistent API error payloads into typed exceptions, form errors, and localized messages.

Repository (GitHub)
View/report issues

Topics

#api #dio #error-handling #localization #validation

License

MIT (license)

Dependencies

dio

More

Packages that depend on smart_api_errors_parser