These are chat archives for dry-rb/chat
Next-gen ruby libs! » github.com/dry-rb » website: https://dry-rb.org » forum: https://discourse.dry-rb.org
Yes, transactions are essentially about handling errors using types instead of exceptions.
Sure, any given operation may catch an exception and wrap it into a
Failure, but still, it’s probably better to redesign your pipeline not to use exceptions at all.