Die constructor

const Die(
  1. dynamic error,
  2. StackTrace defectStackTrace, [
  3. StackTrace? stackTrace
])

Implementation

const Die(this.error, this.defectStackTrace, [this.stackTrace]);