File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/rdf4cpp/datatypes/registry/util Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -147,11 +147,11 @@ F from_chars(std::string_view s) {
147
147
__int128 value2 = from_chars<uint64_t , datatype>(p);
148
148
for (int j = 0 ; j < i; ++j) {
149
149
if (rdf4cpp::util::detail::mul_checked<rdf4cpp::util::detail::OverflowMode::Checked>(value2, max_pow10, value2)) {
150
- throw rdf4cpp::InvalidNode{std::format (" {} parsing error: overflow" , datatype)};
150
+ throw rdf4cpp::InvalidNode{std::format (" {} parsing error: overflow mul " , datatype)};
151
151
}
152
152
}
153
153
if (rdf4cpp::util::detail::add_checked<rdf4cpp::util::detail::OverflowMode::Checked>(value, value2, value)) {
154
- throw rdf4cpp::InvalidNode{std::format (" {} parsing error: overflow" , datatype)};
154
+ throw rdf4cpp::InvalidNode{std::format (" {} parsing error: overflow add " , datatype)};
155
155
}
156
156
++i;
157
157
}
You can’t perform that action at this time.
0 commit comments