AngelHttpException.forbidden constructor

AngelHttpException.forbidden(
  1. {String message: '403 Forbidden'}
)

Throws a 403 Forbidden error.

Implementation

factory AngelHttpException.forbidden({String message = '403 Forbidden'}) =>
    new AngelHttpException(null, message: message, statusCode: 403);