Mercurial > minori
diff include/core/strings.h @ 202:71832ffe425a
animia: re-add kvm fd source
this is all being merged from my wildly out-of-date laptop. SORRY!
in other news, I edited the CI file to install the wayland client
as well, so the linux CI build might finally get wayland stuff.
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Tue, 02 Jan 2024 06:05:06 -0500 |
parents | bc8d2ccff09c |
children | 7cf53145de11 |
line wrap: on
line diff
--- a/include/core/strings.h Sun Nov 19 19:13:28 2023 -0500 +++ b/include/core/strings.h Tue Jan 02 06:05:06 2024 -0500 @@ -53,7 +53,7 @@ } else if constexpr (std::is_unsigned<T>::value) { return clamp(std::stoull(str), std::numeric_limits<T>::max(), std::numeric_limits<T>::max()); } else { - throw std::invalid_argument("it no worky"); + throw std::invalid_argument("Invalid input to Strings::ToInt()!"); } } catch (std::invalid_argument const& ex) { return def;