Skip to content

Commit

Permalink
Clarify I/O error handling
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaut committed Sep 16, 2023
1 parent bfdf50d commit aa3c5a4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions doc/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ checked at compile time in C++20. To pass a runtime format string wrap it in

*args* is an argument list representing objects to be formatted.

I/O errors are reported as `std::system_error
<https://en.cppreference.com/w/cpp/error/system_error>`_ exceptions unless
specified otherwise.

.. _format:

.. doxygenfunction:: format(format_string<T...> fmt, T&&... args) -> std::string
Expand Down

0 comments on commit aa3c5a4

Please sign in to comment.