blob: 7c462a39777852dc8d94c240199ed4ca90178cf6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#pragma once
#include "Exception.h"
namespace crepe {
template <class... Args>
Exception::Exception(std::format_string<Args...> fmt, Args &&... args) {
this->error = std::format(fmt, std::forward<Args>(args)...);
}
} // namespace crepe
|