RuntimeD4rtException constructor
RuntimeD4rtException(
- String message, {
- Object? originalException,
- StackTrace? originalStackTrace,
Creates a new runtime error with the given message. When
originalException is supplied, the wrapped native exception stays
catchable by type; supply originalStackTrace from the same catch
clause so the trace survives the wrapping too.
Implementation
RuntimeD4rtException(
super.message, {
this.originalException,
this.originalStackTrace,
});