mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-01 13:45:53 +00:00
* throw marshal_exception if not the whole string is parsed, we should error out if the parsed string contains gabage at the end. before this change, we silent accept uuid like "ce84997b-6ea2-4468-9f02-8a65abf4wxyz", and parses it as "ce84997b-6ea2-4468-9f02-8a65abf4". this is not correct. * throw marshal_exception if stoull() throws, `stoull()` throws if it fails to parse a string to an unsigned long long, we should translate the exception to `marshal_exception`, so we can handle these exception in a consistent manner. test is updated accordingly. Signed-off-by: Kefu Chai <kefu.chai@scylladb.com> Closes #13069