aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.