function
<exception>
exception_ptr nested_ptr() const noexcept;
Get exception_ptr to nested exception
Return Value
An exception_ptr object pointing to the nested exception.
Exception safety
No-throw guarantee: this member function throws no exceptions.