Error(this._cause, {Error? parent}) : _parent = parent { _stackTrace = hasStackTrace ? StackTrace.current : null; }