1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-12 07:16:01 +00:00

specialized exceptions for param errors

This commit is contained in:
Zeno Rogue
2024-05-27 02:18:22 +02:00
parent 888a34dea6
commit f445d02707
2 changed files with 14 additions and 8 deletions

View File

@@ -1227,6 +1227,7 @@ EX namespace dialog {
if(p) p->load_as_animation(formula);
}
catch(hr_parse_exception&) { }
catch(param_exception&) { }
};
dialog::get_di().dialogflags |= dialogflags;
});
@@ -1298,6 +1299,7 @@ EX namespace dialog {
}
catch(const hr_parse_exception&) {
}
catch(param_exception&) { }
}
EX void bound_low(ld val) {