createAndLogError static method
RxException
createAndLogError(
- String message, {
- Object? originalError,
- StackTrace? stackTrace,
- String? context,
Create an RxException and log it
Implementation
static RxException createAndLogError(
String message, {
Object? originalError,
StackTrace? stackTrace,
String? context,
}) {
final error = RxException.withTimestamp(
message,
originalError: originalError,
stackTrace: stackTrace,
);
logError(error, context: context);
return error;
}