1
0
Fork 0
mirror of https://gitlab.com/nkming2/nc-photos.git synced 2025-03-10 09:18:52 +01:00
nc-photos/app/lib/exception_event.dart
2023-05-21 21:51:20 +08:00

13 lines
245 B
Dart

class ExceptionEvent {
const ExceptionEvent(
this.error, [
this.stackTrace,
]);
void throwMe() {
Error.throwWithStackTrace(error, stackTrace ?? StackTrace.current);
}
final Object error;
final StackTrace? stackTrace;
}