Fix spelling in Error.hpp (#1129)

Co-authored-by: Philip Top <phlptp@gmail.com>
This commit is contained in:
Guillem Blanco
2025-03-03 14:39:43 +01:00
committed by GitHub
parent 0eb88ed958
commit b0f63a4442

View File

@@ -275,7 +275,7 @@ class ArgumentMismatch : public ParseError {
std::to_string(received));
}
static ArgumentMismatch AtMost(std::string name, int num, std::size_t received) {
return ArgumentMismatch(name + ": At Most " + std::to_string(num) + " required but received " +
return ArgumentMismatch(name + ": At most " + std::to_string(num) + " required but received " +
std::to_string(received));
}
static ArgumentMismatch TypedAtLeast(std::string name, int num, std::string type) {