AngelHttpException.notFound constructor

AngelHttpException.notFound(
  1. {String message: '404 Not Found'}
)

Throws a 404 Not Found error.

Implementation

factory AngelHttpException.notFound({String message = '404 Not Found'}) =>
    new AngelHttpException(null, message: message, statusCode: 404);