RxException.withTimestamp constructor

RxException.withTimestamp(
  1. String message, {
  2. Object? originalError,
  3. StackTrace? stackTrace,
})

Implementation

factory RxException.withTimestamp(
  String message, {
  Object? originalError,
  StackTrace? stackTrace,
}) {
  return RxException(
    message,
    originalError: originalError,
    stackTrace: stackTrace,
    timestamp: DateTime.now(), // ← Set timestamp here
  );
}