Now I can play a sound! Yay!

This commit is contained in:
Zed A. Shaw 2024-08-24 17:33:48 -04:00
parent f83c0c7ff9
commit 7309ec2f40
7 changed files with 47 additions and 8 deletions

View file

@ -46,6 +46,7 @@ namespace dbc {
void check(bool test, const string &message) {
if(!test) {
string err = fmt::format("[CHECK!] {}\n", message);
fmt::println("{}", err);
throw CheckError{err};
}
}