std::nested_exception:: ~nested_exception

From cppreference.com
Utilities library
General utilities
Relational operators (deprecated in C++20)
virtual ~nested_exception ( ) = default ;
(since C++11)
(constexpr since C++26)

Destroys the nested exception object.