kaycxx-cli
C++ CLI library
Loading...
Searching...
No Matches
kaycxx
cli
parse_error.hpp
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: 2026 Klaus Reimer <k@ailis.de>
2
// SPDX-License-Identifier: MIT
3
9
#pragma once
10
11
#include <stdexcept>
12
#include <string_view>
13
14
namespace
kaycxx::cli {
15
19
class
parse_error
:
public
std::runtime_error {
20
public
:
26
explicit
parse_error
(std::string_view
message
);
27
};
28
29
}
// namespace kaycxx::cli
kaycxx::cli::option_handle
Handle for a registered option.
Definition
option_handle.hpp:25
kaycxx::cli::parse_error
Error thrown when command line arguments cannot be parsed.
Definition
parse_error.hpp:19
kaycxx::cli::parse_error::parse_error
parse_error(std::string_view message)
Creates a parse error.
Generated by
1.9.8