blob: 7de178e6ed24ba5a028ce2776f121726ea00563c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// This source code is released into the public domain.
export module nihil.cli:usage_error;
import nihil.std;
import nihil.error;
namespace nihil {
// Exception thrown to indicate invalid command-line arguments.
export struct usage_error : error {
explicit usage_error(std::string_view what) : error(what) {}
};
} // namespace nihil
|