1
0
Fork 0
mirror of https://gitlab.com/nkming2/nc-photos.git synced 2025-03-10 17:28:56 +01:00
nc-photos/app/lib/exception_event.dart

14 lines
245 B
Dart
Raw Normal View History

class ExceptionEvent {
const ExceptionEvent(
this.error, [
this.stackTrace,
]);
void throwMe() {
Error.throwWithStackTrace(error, stackTrace ?? StackTrace.current);
}
2022-05-16 14:01:52 +02:00
final Object error;
final StackTrace? stackTrace;
}