http_exception 2.0.1 copy "http_exception: ^2.0.1" to clipboard
http_exception: ^2.0.1 copied to clipboard

A set of predefined exception classes for HTTP Exception in Dart.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add http_exception

With Flutter:

 $ flutter pub add http_exception

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

dependencies:
  http_exception: ^2.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:http_exception/http_exception.dart';
2
likes
160
points
183
downloads

Publisher

verified publishertech-andgar.me

Weekly Downloads

A set of predefined exception classes for HTTP Exception in Dart.

Repository (GitHub)
View/report issues

Topics

#http-exception

Documentation

Documentation
API reference

License

Apache-2.0 (license)

Dependencies

http_status, meta

More

Packages that depend on http_exception