enforceBadRequest

Utility function that throws a HTTPStatusException with status code "400 Bad Request" if the condition is not met.

T
enforceBadRequest
(
T
)
(,
lazy string message = null
,
string file = __FILE__
,
typeof(__LINE__) line = __LINE__
)

Meta