Support configurable exceptions to rescue, defaulting to StandardError