</a></div><div id="content">
  <div class="titlepage"><div><div><h1 style="clear: both"><code>void try_throw_std_exception_from_error(std::error_code ec, const std::string &amp;msg = std::string{})</code></h1></div></div></div>
  <p>This function saves writing boilerplate by throwing a standard library exception
type equivalent to the supplied error code, with an optional custom message.</p>

<p>If the function returns, there is no standard library exception type equivalent
to the supplied error code. The f