bloom_errors 0.2.2 copy "bloom_errors: ^0.2.2" to clipboard
bloom_errors: ^0.2.2 copied to clipboard

Strongly-typed HTTP error hierarchy, sibling package error mapping, and dev/prod error-rendering middleware for Bloom.

145/ 160
pub points
333
downloads

We analyzed this package 9 days ago, and awarded it 145 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
25 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Failed check 0/5 points: Provide a valid README.md

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

README.md:160:3

    ╷
160 │ | <a href="file:///root/dev/Bloom/packages/bloom_errors/lib/src/http_exception.dart"><code>BloomBadRequestException</code></a> | <code>400</code> | <code>&quot;bad_request&quot;</code> | Malformed syntax or invalid request parameters |
    │   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ╵

Use https URLs instead.

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Failed report section
Provide documentation
10 / 20trigger folding of the section

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

50 out of 51 API elements (98.0 %) have documentation comments.

Some symbols that are missing documentation: bloom_errors.BloomErrorMapper.BloomErrorMapper.new.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Passed report section
Platform support
20 / 20trigger folding of the section

Passed check 20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:bloom_errors/bloom_errors.dart that imports:
  • package:bloom_errors/src/http_exception.dart that imports:
  • package:bloom_server/bloom_server.dart that imports:
  • package:bloom_server/src/server/rpc_mount.dart that imports:
  • package:bloom_server/src/server/bloom_response.dart that imports:
  • dart:io
Passed report section
Pass static analysis
50 / 50trigger folding of the section

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

Passed report section
Support up-to-date dependencies
40 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
bloom_server ^0.2.0 0.2.1 0.2.1
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.1 2.13.1
bloom_js_native - 0.3.7 0.3.7
bloom_seo - 0.2.0 0.2.0
collection - 1.19.1 1.19.1
http - 1.6.0 1.6.0
http_parser - 4.1.2 4.1.2
meta - 1.19.0 1.19.0
path - 1.9.1 1.9.1
signals_core - 5.5.0 7.0.0
source_span - 1.10.2 1.10.2
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
web - 1.1.1 1.1.1

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.19, Dart 3.13.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
145
points
333
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Strongly-typed HTTP error hierarchy, sibling package error mapping, and dev/prod error-rendering middleware for Bloom.

Repository (GitHub)
View/report issues

Topics

#bloom #errors #http

License

MIT (license)

Dependencies

bloom_server

More

Packages that depend on bloom_errors