throw hr_exceptions not strings

This commit is contained in:
Zeno Rogue committed 2021-03-24 20:25:44 +01:00
1 parent 8fc92f2e83
commit 953e17722d
6 files changed
+12 -12

No files matched your search

+1 -1
View File
@@ -53,7 +53,7 @@ coord coord::addmove(int d) {
case 9: return down().shift(1, 2);
case 10: return shift(-1, 0);
case 11: return shift(0, -1);
default: throw "error";
default: throw hr_exception("error");
}
}