NotFoundHttpException constructor

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

Implementation

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