redix v0.6.0 Release Notes
-
💥 Breaking changes
- Start using
Redix.ConnectionError
when returning errors instead of just an atom. This is a breaking change since nowRedix.command/2
and the other functions return{:error, %Redix.ConnectionError{reason: reason}}
instead of{:error, reason}
. If you're matching on specific error reasons, make sure to update your code; if you're formatting errors throughRedix.format_error/1
, you can now useException.message/1
on theRedix.ConnectionError
structs.
- Start using