std::exception::operator=

From cppreference.com
< cpplrm; | errorlrm; | exception
exception& operator=( const exception& other );

Copy assignment operator. Assigns the contents of other

Parameters

other - another exception to assign the contents of

Exceptions

(none) (until C++11)
noexcept specification:
noexcept
(since C++11)