mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-19 00:07:13 +02:00
jungfrau: new default to asic reg for chipv1.1, filtercells name change, wrongnumberof parameters message change
This commit is contained in:
@ -82,8 +82,13 @@ std::map<std::string, std::string> CmdProxy::GetDepreciatedCommands() {
|
||||
}
|
||||
|
||||
void CmdProxy::WrongNumberOfParameters(size_t expected) {
|
||||
if (expected == 0) {
|
||||
throw RuntimeError("Command " + cmd +
|
||||
" expected no parameter/s but got " +
|
||||
std::to_string(args.size()) + "\n");
|
||||
}
|
||||
throw RuntimeError(
|
||||
"Command " + cmd + " expected <=" + std::to_string(expected) +
|
||||
"Command " + cmd + " expected >=" + std::to_string(expected) +
|
||||
" parameter/s but got " + std::to_string(args.size()) + "\n");
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user