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 [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/sequel-talk. For more options, visit https://groups.google.com/d/optout.
