blob: 4eda7745981c38000c1f498ccbc453a50392509e (
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
24
25
26
|
/*
* This source code is released into the public domain.
*/
module;
#include <format>
#include <utility>
export module nihil.ucl:error;
import nihil;
namespace nihil::ucl {
/*
* Exception thrown when an issue occurs with UCL.
*/
export struct error : generic_error {
template<typename... Args>
error(std::format_string<Args...> fmt, Args &&...args)
: generic_error(fmt, std::forward<Args>(args)...)
{}
};
} // namespace nihil::ucl
|