dynamic abortBadRequest([body = 'Bad Request'])

Source

abortBadRequest([body = 'Bad Request']) {
  throw new HttpBadRequestException(body);
}