mirrored_repositories/Image-Genius/lib/app/common
import 'package:image_genius/app/common/err/failure.dart';

class CommonNoInternetConnectionError extends Failure {
  CommonNoInternetConnectionError({message, stack})
      : super(
          errorMessage: message ?? "Sem conexão com a internet",
          stackTrace: stack,
        );
}

class CommonNoDataFoundError extends Failure {
  CommonNoDataFoundError({message, stack})
      : super(
          errorMessage: message ?? "Nenhum dado encontrado",
          stackTrace: stack,
        );
}

class CommonDesconhecidoError extends Failure {
  CommonDesconhecidoError({message, stack})
      : super(
          errorMessage: message ?? "Erro desconhecido",
          stackTrace: stack,
        );
}
