blob: 5d52573abc1ade087ced286c327e3829b646d17c (
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.core;
namespace nihil {
// Exception thrown to indicate invalid command-line arguments.
export struct usage_error : error {
explicit usage_error(std::string_view const what) : error(what) {}
};
} // namespace nihil
|