ErrorResult constructor
- Object error, [
- StackTrace? stackTrace
Implementation
ErrorResult(this.error, [StackTrace? stackTrace])
: stackTrace = stackTrace ?? AsyncError.defaultStackTrace(error);
ErrorResult(this.error, [StackTrace? stackTrace])
: stackTrace = stackTrace ?? AsyncError.defaultStackTrace(error);