diff options
| author | Lexi Winter <lexi@le-fay.org> | 2025-06-26 20:47:45 +0100 |
|---|---|---|
| committer | Lexi Winter <lexi@le-fay.org> | 2025-06-26 20:47:45 +0100 |
| commit | 90aa957ca9b7c217af7569009d1675e0f3ff8e9b (patch) | |
| tree | e6a61ca2b6928e6414372b9b1484ce80fa2fb0b3 /nihil.config/error.ccm | |
| parent | 1db86c401df11423c945634d8b2a483e97afa878 (diff) | |
| download | nihil-90aa957ca9b7c217af7569009d1675e0f3ff8e9b.tar.gz nihil-90aa957ca9b7c217af7569009d1675e0f3ff8e9b.tar.bz2 | |
ucl, config: use monadic error handling more
Diffstat (limited to 'nihil.config/error.ccm')
| -rw-r--r-- | nihil.config/error.ccm | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/nihil.config/error.ccm b/nihil.config/error.ccm deleted file mode 100644 index 4e7131a..0000000 --- a/nihil.config/error.ccm +++ /dev/null @@ -1,23 +0,0 @@ -/* - * 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 |
