public virtual void OnError(IExceptionDescriptor exception) { }
public override void OnError(IExceptionDescriptor exception) { _listeners.ForEach(x => x.OnError(exception)); }
public OperationResult(IIdentity identity, string text, OperationType type, State state, [CanBeNull] IExceptionDescriptor exception) : base(identity, text, state) { _type = type; _exception = exception; }
public void OnError(IExceptionDescriptor exception) { _listeners.ForEach(x => x.OnError(exception)); }
public static TaskException ToTaskException(this IExceptionDescriptor exception) { return(new TaskException(type: null, message: exception.FullName + ":\r\n" + exception.Message, stackTrace: exception.StackTrace)); }
public void OnError(IExceptionDescriptor exception) { _listener.OnError(exception); }