// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
namespace Yarp.ReverseProxy.Forwarder;
///
/// Stores errors and exceptions that occurred when forwarding the request to the destination.
///
public interface IForwarderErrorFeature
{
///
/// The specified ProxyError.
///
ForwarderError Error { get; }
///
/// An Exception that occurred when forwarding the request to the destination, if any.
///
Exception? Exception { get; }
}