dynamic abortNetworkAuthenticationRequired([body = 'Network Authentication Required'])

Source

abortNetworkAuthenticationRequired(
    [body = 'Network Authentication Required']) {
  throw new HttpNetworkAuthenticationRequiredException(body);
}