shelf_exception_handler 0.2.0 copy "shelf_exception_handler: ^0.2.0" to clipboard
shelf_exception_handler: ^0.2.0 copied to clipboard

Shelf middleware to simply throw an HttpException that gets converted to an appropriate response code and a formatted response body dependent on the clients accept header.

1
likes
15/ 140
pub points
0%
popularity

We analyzed this package 5 days ago, and awarded it 15 pub points (of a possible 140):

failed
Follow Dart file conventions
15 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

0/5 points: Provide a valid README.md

Links in `README.md` should be secure. 3 links are insecure.

README.md:6:4

  ╷
6 │ <p><a href="http://pub.dartlang.org/packages/shelf">Shelf</a> middleware for easily creating
  │    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

Use https URLs instead.

5/5 points: Provide a valid CHANGELOG.md

0/10 points: Use an OSI-approved license

No license was recognized.

Consider using an OSI-approved license in the LICENSE file to make it more accessible to the community.

failed
Provide documentation
0 / 20trigger folding of the section

0/10 points: 20% or more of the public API has dartdoc comments

Dependency resolution failed, unable to run dartdoc.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

failed
Platform support
0 / 20trigger folding of the section

0/20 points: Platform support detection failed

Could not determine supported platforms as package resolution failed.

Run dart pub get for more information.

failed
Pass static analysis
0 / 50trigger folding of the section

0/50 points: code has no errors, warnings, lints, or formatting issues

  • Running dart pub outdated failed with the following output:
The lower bound of "sdk: '>=2.0.0 <3.0.0'" must be 2.12.0'
or higher to enable null safety.
failed
Support up-to-date dependencies
0 / 20trigger folding of the section

0/10 points: All of the package dependencies are supported in the latest version

Sdk constraint doesn't support current Dart version 3.3.3. Cannot run `dart pub outdated`.

pubspec.yaml:12:8

   ╷
12 │   sdk: '>=2.0.0 <3.0.0'
   │        ^^^^^^^^^^^^^^^^
   ╵

0/10 points: Package supports latest stable Dart and Flutter SDKs

Sdk constraint doesn't support current Dart version 3.3.3.

pubspec.yaml:12:8

   ╷
12 │   sdk: '>=2.0.0 <3.0.0'
   │        ^^^^^^^^^^^^^^^^
   ╵

Try widening the upper boundary of the constraint.

Analyzed with Pana 0.22.3, Dart 3.3.3.

Check the analysis log for details.

1
likes
15
pub points
0%
popularity

Publisher

unverified uploader

Shelf middleware to simply throw an HttpException that gets converted to an appropriate response code and a formatted response body dependent on the clients accept header.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

http_exception, shelf, shelf_response_formatter

More

Packages that depend on shelf_exception_handler