From 32b4443ba2ec5c3f7c09221ab9b21911a3126ef9 Mon Sep 17 00:00:00 2001 From: Lexi Winter Date: Mon, 23 Jun 2025 18:34:18 +0100 Subject: add separate module implementation files --- nihil.ucl/error.cc | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 nihil.ucl/error.cc (limited to 'nihil.ucl/error.cc') diff --git a/nihil.ucl/error.cc b/nihil.ucl/error.cc new file mode 100644 index 0000000..2f19cb7 --- /dev/null +++ b/nihil.ucl/error.cc @@ -0,0 +1,19 @@ +/* + * This source code is released into the public domain. + */ + +module; + +#include +#include + +module nihil.ucl; + +namespace nihil::ucl { + +error::error(std::string what) + : generic_error(std::move(what)) +{ +} + +} // namespace nihil::ucl -- cgit v1.2.3