Const-correctness for folly::exception_wrapper::with_exception with non-std::exception