aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2024-12-03 12:57:23 +0200
committerKaren Arutyunov <karen@codesynthesis.com>2024-12-03 12:57:23 +0200
commit794805e4c30e30f26286ac0c2d6a513d2391d38e (patch)
tree4d408d77ee22f36ab5ba3209209a0668d4d9c125
parent98bef49e83a69f64b47dd582ccef880cbd8a7979 (diff)
Fix description of 'timestamp from_string()' functionHEADmaster
-rw-r--r--libbutl/timestamp.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbutl/timestamp.hxx b/libbutl/timestamp.hxx
index 2714a0d..1c5b09b 100644
--- a/libbutl/timestamp.hxx
+++ b/libbutl/timestamp.hxx
@@ -143,8 +143,8 @@ namespace butl
// in both cases.
//
// If the end argument is not NULL, then it points to the first character
- // that was not parsed. Otherwise, throw invalid_argument in case of any
- // unparsed characters.
+ // that was not parsed. Otherwise, throw std::system_error with the generic
+ // category and EINVAL error code in case of any unparsed characters.
//
// Throw std::system_error on input/format mismatch and underlying time
// conversion function failures.