blob: 61feba778edd85aebc9877ee519b7c297159591f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
/*
* This source code is released into the public domain.
*/
module;
#include <string>
export module nihil.cli:usage_error;
import nihil.error;
namespace nihil {
/*
* Exception thrown to indicate invalid command-line arguments.
*/
export struct usage_error : error {
usage_error(std::string_view what) : error(what) {}
};
} // namespace nihil
|