aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/Exception.hpp
blob: d8138796b965a8764fd10d5277018c50aadc26a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#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)...);
}

}