aboutsummaryrefslogtreecommitdiffstats
path: root/nihil.config/error.ccm
blob: 4e7131aff4c5be46592ff687553e357d5517e24d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*
 * This source code is released into the public domain.
 */

module;

#include <format>
#include <utility>

export module nihil.config:error;

import nihil;

namespace nihil::config {

/*
 * Exception thrown when an issue occurs with the configuration.
 */
export struct error : generic_error {
	error(std::string what) : generic_error(std::move(what)) {}
};

} // namespace nihil::config