Skip to main content

failures_builder 0.0.11 copy "failures_builder: ^0.0.11" to clipboard
failures_builder: ^0.0.11 copied to clipboard

A code generator companion for failures

0.0.11 #

  • Remove runtime types from default summaries
  • Fix issue with stack trace not being preseved when failure is handled

0.0.10 #

  • Rename @FailureError annotation to @AsFailure
  • Add info about code generation to README

0.0.9 #

  • Allow failures.handle to handle both failures and errors

0.0.8 #

  • More robust type checking when creating failure from error
  • Add support for passing underlying error when creating a failure

0.0.7 #

  • Make title and description getters optional in descriptor
  • Adjust generator to use named constructors instead of redirecting

0.0.6 #

  • Add stack trace to enum generated failures

0.0.5 #

  • Show full URL in DioFailure if base URL is not set, otherwise show only path

0.0.4 #

  • Allow passing custom messages to failures
  • Allow passing message and extra to enum generated failures

0.0.1 #

  • Initial release
0
likes
120
points
43
downloads

Documentation

API reference

Publisher

verified publisherapeira.me

Weekly Downloads

A code generator companion for failures

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

analyzer, build, failures, meta, source_gen

More

Packages that depend on failures_builder