ParamCheckHelper

auto checker = new ParamCheckHelper();

checker.finish(); // this will throw if any of the checks failed
// now go ahead and use the params
class ParamCheckHelper {
string[] failed;
string[] messagesForUser;
const(Cgi) cgi;
}

Meta