MCPcopy Create free account
hub / github.com/docopt/docopt.cpp / DocoptArgumentError

Class DocoptArgumentError

docopt.h:50–50  ·  view source on GitHub ↗

Arguments passed by user were incorrect (ie, developer was good, user is wrong)

Source from the content-addressed store, hash-verified

48
49 // Arguments passed by user were incorrect (ie, developer was good, user is wrong)
50 struct DocoptArgumentError : std::runtime_error { using runtime_error::runtime_error; };
51
52 // Arguments contained '--help' and parsing was aborted early
53 struct DocoptExitHelp : std::runtime_error { DocoptExitHelp() : std::runtime_error("Docopt --help argument encountered"){} };

Callers 1

docopt_parseMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected