StepFailure constructor
StepFailure(
- dynamic e,
- dynamic s
Implementation
StepFailure(e, s) {
if (e is Exception) {
this.error = e;
} else {
this.error = Exception(e.toString());
}
this.trace = s;
}