NotFoundHttpException constructor

NotFoundHttpException({
  1. String message = 'Not Found',
  2. String errorCode = 'not_found',
  3. int code = HttpStatus.notFound,
})

Implementation

NotFoundHttpException({
  String message = 'Not Found',
  String errorCode = 'not_found',
  int code = HttpStatus.notFound,
}) {
  super.code = code;
  super.errorCode = errorCode;
  super.message = message;
}