v0.4
This release brings some improvements to policy composition and error handling (#35)
- Remove second type parameter on
Policy
to make all policies have aPolicyError[E]
error type - Add
widen
toRetry
andCircuitBreaker
to ease composition - Add
fold
andtoException
methods to policy errors (CircuitBreakerError
,BulkheadError
andPolicyError
) - Extend documentation on how to handle errors and how to compose policies