dynamic abortPaymentRequired([body = 'Payment Required'])

Source

abortPaymentRequired([body = 'Payment Required']) {
  throw new HttpPaymentRequiredException(body);
}