AngelHttpException.notAcceptable constructor

AngelHttpException.notAcceptable(
  1. {String message: '406 Not Acceptable'}
)

Throws a 406 Not Acceptable error.

Implementation

factory AngelHttpException.notAcceptable(
        {String message = '406 Not Acceptable'}) =>
    new AngelHttpException(null, message: message, statusCode: 406);