ApiException.notFound constructor

const ApiException.notFound({
  1. @Default('Something went wrong ! Please try again later ') String msg,
})

Creates a not found error instance, typically used for 404 status codes.

Used when the requested resource cannot be found on the server. Default message indicates a general error state.

Implementation

const factory ApiException.notFound({@Default('Something went wrong ! Please try again later ') String msg}) = _NotFoundError;