Skip to content

v0.4

Compare
Choose a tag to compare
@svroonland svroonland released this 29 Sep 07:54
· 335 commits to master since this release

This release brings some improvements to policy composition and error handling (#35)

  • Remove second type parameter on Policy to make all policies have a PolicyError[E] error type
  • Add widen to Retry and CircuitBreaker to ease composition
  • Add fold and toException methods to policy errors (CircuitBreakerError, BulkheadError and PolicyError)
  • Extend documentation on how to handle errors and how to compose policies