RxException.withTimestamp constructor
RxException.withTimestamp(
- String message, {
- Object? originalError,
- 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
);
}