eed to return information about failures in return value.
But down in the implementation details, in <code>Layer1</code>, another library is used that again throws exceptions. The goal is
to be able to transfer an exception thrown in <code>Layer1</code> through <code>Layer2_old</code>, which is not exception-safe,
and be able to rethrow it in <code>Layer3</code>.</p>

<p>In <code>Layer1</code> we have two functions from two libraries: one reports failures by throwing exceptions, the other by returning <code