defectStackTraceOrNull property

StackTrace? get defectStackTraceOrNull

The defect stack trace visible from this state, when available.

Implementation

StackTrace? get defectStackTraceOrNull => switch (this) {
  EffectCommandDefect<A, E>(:final stackTrace) => stackTrace,
  _ => null,
};