When I'm rescuing a database exception that `Sequel` is reraising I can either access the original exception using Sequel::Error#wrapped_exception or Exception#cause. My app is on Ruby 2.3 so I don't have to worry about Exception#cause not being supported. Is there any benefit from using #wrapped_exception instead of #cause?
Thanks! -- You received this message because you are subscribed to the Google Groups "sequel-talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to sequel-talk+unsubscr...@googlegroups.com. To post to this group, send email to sequel-talk@googlegroups.com. Visit this group at https://groups.google.com/group/sequel-talk. For more options, visit https://groups.google.com/d/optout.