MCPcopy Create free account
hub / github.com/LBANN/lbann / handle_error

Method handle_error

src/utils/argument_parser.cpp:52–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50namespace lbann {
51namespace utils {
52void strict_parsing::handle_error(clara::detail::InternalParseResult result,
53 clara::Parser&,
54 std::vector<char const*>&)
55{
56 throw parse_error(
57 lbann::build_string("Arguments could not be parsed.\n\nMessage: ",
58 result.errorMessage()));
59}
60
61void allow_extra_parameters::handle_error(
62 clara::detail::InternalParseResult parse_result,

Callers 1

parse_no_finalizeMethod · 0.80

Calls 6

build_stringFunction · 0.85
token_matchFunction · 0.85
parseMethod · 0.80
parse_errorClass · 0.50
sizeMethod · 0.45
compareMethod · 0.45

Tested by

no test coverage detected