utf8.exceptions.h.xml 561 B

12345678910111213141516171819202122
  1. <chapter xml:id="utf8.exceptions.h">
  2. <title><tt>__vic/utf8/exceptions.h</tt></title>
  3. <code-block lang="C++">
  4. namespace utf8 {
  5. class bad_encoding; // public std::exception
  6. class no_leading_byte;
  7. class truncated_code_point;
  8. class overlong_encoding;
  9. class code_point_too_big;
  10. } // namespace
  11. </code-block>
  12. <p>Exception classes thrown by <xref to="utf8--reader"/> <tt>read()</tt>
  13. function. All exceptions are derived from abstract base class
  14. <tt>utf8::bad_encoding</tt>. See <xref to="utf8--status"/> for equivalent
  15. status codes.</p>
  16. </chapter>