dynamic abortUnauthorized([body = 'Unauthorized'])

Source

abortUnauthorized([body = 'Unauthorized']) {
  throw new HttpUnauthorizedException(body);
}