Function enforceBadRequest
Utility function that throws a HTTPStatusException with status code "400 Bad Request" if the condition is not met.
T enforceBadRequest(T)
(
T condition,
lazy string message = null,
string file = __FILE__,
typeof(__LINE__) line = __LINE__
);