AngelHttpException.notAuthenticated constructor

AngelHttpException.notAuthenticated(
  1. {String message: '401 Not Authenticated'}
)

Throws a 401 Not Authenticated error.

Implementation

factory AngelHttpException.notAuthenticated(
        {String message = '401 Not Authenticated'}) =>
    new AngelHttpException(null, message: message, statusCode: 401);