std::nested_exception::operator=
Min standard notice:
Replaces the stored exception with the one held in other.
# Declarations
nested_exception& operator=( const nested_exception& other ) noexcept = default;
(since C++11) (constexpr since C++26)
# Parameters
other: nested exception to replace the contents with
# Return value
*this