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

Class parse_error

include/lbann/utils/argument_parser.hpp:52–60  ·  view source on GitHub ↗

@class parse_error * @brief std::exception subclass that is thrown if the parser * can not parse the arguments. */

Source from the content-addressed store, hash-verified

50 * can not parse the arguments.
51 */
52struct parse_error : std::runtime_error
53{
54 /** @brief Construct the exception with the string to be
55 * return by what()
56 */
57 template <typename T>
58 parse_error(T&& what_arg) : std::runtime_error{std::forward<T>(what_arg)}
59 {}
60}; // parse_error
61
62/** @class strict_parsing
63 *

Callers 1

handle_errorMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected