mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-01-22 16:56:19 +01:00
13 lines
245 B
Dart
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;
|
|
}
|