<!DOCTYPE html>
<html>
<head>
  <meta content="text/html; charset=utf-8" http-equiv="content-type">
  <title>ERROR_MESSAGE Function</title>
</head>
<body>
  <h1><code>ERROR_MESSAGE</code> Function</h1>
  <p>Returns the error message set by the last <a href="throw-stmt.html"><code>THROW</code></a> statement.</p>
  <h2>Syntax</h2>
  <blockquote>
    <code>ERROR_MESSAGE()</code>
  </blockquote>
  <h2>Return Value</h2>
  <p>The last error message. This value may be of any type (not just text).</p>
  <h2>Examples</h2>
  <ul class="examples">
    <li>
      <pre>BEGIN TRY  <br>    THROW 123, 'Message', 0;<br>END TRY  <br>BEGIN CATCH  <br>    PRINT ERROR_MESSAGE();<br>END CATCH;</pre>Prints
      "Message".
    </li>
  </ul><br>
</body>
</html>

<!DOCTYPE html>
<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="content-type">
    <title>ERROR_MESSAGE Function</title>
  </head>
  <body>
    <h1><code>ERROR_MESSAGE</code> Function</h1>
    <p>Returns the error message set by the last <a
        href="throw-stmt.html"><code>THROW</code></a> statement.</p>
    <h2>Syntax</h2>
    <blockquote> <code>ERROR_MESSAGE()</code> </blockquote>
    <h2>Return Value</h2>
    <p>The last error message. This value may be of any type (not just
      text).</p>
    <h2>Examples</h2>
    <ul class="examples">
      <li>
        <pre>BEGIN TRY  <br>    THROW 'Message';<br>END TRY  <br>BEGIN CATCH  <br>    PRINT ERROR_MESSAGE();<br>END CATCH;</pre>
        Prints "Message". </li>
    </ul>
    <br>
  </body>
</html>

Fix broken example in doc for ERROR_MESSAGE()
Fix broken example in doc for ERROR_MESSAGE()
