ExecutionError constructor

const ExecutionError(
  1. ExecutionErrorCode code,
  2. String message, {
  3. Object? cause,
})

Creates an ExecutionError with a code and message.

Implementation

const ExecutionError(this.code, this.message, {this.cause});