NotFoundException constructor

const NotFoundException({
  1. String? message,
  2. DioException? originalException,
  3. String? errorCode,
  4. String? traceId,
})

Creates a NotFoundException with an optional custom message.

Implementation

const NotFoundException({String? message, super.originalException, super.errorCode, super.traceId})
  : super(message: message ?? "The requested item could not be found.");