| 299 | |
| 300 | /// Thrown when an excludes option is present |
| 301 | class ExcludesError : public ParseError { |
| 302 | CLI11_ERROR_DEF(ParseError, ExcludesError) |
| 303 | ExcludesError(std::string curname, std::string subname) |
| 304 | : ExcludesError(curname + " excludes " + subname, ExitCodes::ExcludesError) {} |
| 305 | }; |
| 306 | |
| 307 | /// Thrown when too many positionals or options are found |
| 308 | class ExtrasError : public ParseError { |
no outgoing calls
no test coverage detected