Skip to content

Commit

Permalink
New feature: aggregate_error::throw_nested, a more concise, clear ver…
Browse files Browse the repository at this point in the history
…sion
  • Loading branch information
refvalue committed Nov 29, 2024
1 parent 06c0e44 commit 9385f87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/essence/exception.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ namespace essence {
[[noreturn]] ES_API(CPPESSENCE) static void throw_nested(
E&& ex, std::int32_t indent = default_nested_exception_indent) try {
std::throw_with_nested(std::forward<E>(ex));
} catch (std::exception&) {
} catch (...) {
flatten_and_throw(std::current_exception(), indent);
}

Expand Down

0 comments on commit 9385f87

Please sign in to comment.