ErrorWithTrace constructor

const ErrorWithTrace(
  1. Object error,
  2. StackTrace stackTrace
)

Creates a new ErrorWithTrace with the given error and stackTrace.

Implementation

const ErrorWithTrace(this.error, this.stackTrace);