StepResult.failed constructor
StepResult.failed(
- String? errorMessage,
- StackTrace? stackTrace
Creates a failure result containing diagnostic context and stack trace details from the error.
Implementation
StepResult.failed(this.errorMessage, this.stackTrace)
: status = StepStatus.failed;