Skip to content

Commit 6f53c23

Browse files
author
kopturovdim
committed
fix userver: fix doc about exception in FromString
Tests: NO commit_hash:4f675f4ba2e16b7aadd04d9d11d55b6ad41dd12a
1 parent 6d63aa3 commit 6f53c23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

universal/include/userver/utils/from_string.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ std::enable_if_t<kIsFromCharsConvertible<T>, T> FromString(std::string_view str)
191191
/// @tparam T The type of the number to be parsed
192192
/// @param str The string that contains the number
193193
/// @return The extracted number
194-
/// @throw std::runtime_error if the string does not contain an integer or
194+
/// @throw FromStringException if the string does not contain an integer or
195195
/// floating-point number in the specified format, or the string contains extra
196196
/// junk, or the number does not fit into the provided type
197197
template <

0 commit comments

Comments
 (0)