MCPcopy Create free account
hub / github.com/CLIUtils/CLI11 / ExtrasError

Method ExtrasError

include/CLI/Error.hpp:310–314  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

308class ExtrasError : public ParseError {
309 CLI11_ERROR_DEF(ParseError, ExtrasError)
310 explicit ExtrasError(std::vector<std::string> args)
311 : ExtrasError((args.size() > 1 ? "The following arguments were not expected: "
312 : "The following argument was not expected: ") +
313 detail::join(args, " "),
314 ExitCodes::ExtrasError) {}
315 ExtrasError(const std::string &name, std::vector<std::string> args)
316 : ExtrasError(name,
317 (args.size() > 1 ? "The following arguments were not expected: "

Callers

nothing calls this directly

Calls 1

joinFunction · 0.85

Tested by

no test coverage detected