AngelHttpException.paymentRequired constructor

AngelHttpException.paymentRequired(
  1. {String message: '402 Payment Required'}
)

Throws a 402 Payment Required error.

Implementation

factory AngelHttpException.paymentRequired(
        {String message = '402 Payment Required'}) =>
    new AngelHttpException(null, message: message, statusCode: 402);