2022-05-26 10:47:31 +00:00
|
|
|
using Elsa.Http.Models;
|
2022-03-09 23:19:00 +00:00
|
|
|
|
2023-03-03 21:47:23 +00:00
|
|
|
namespace Elsa.Http.Contracts;
|
2022-03-09 23:19:00 +00:00
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Implement this to control what to return to the client in case an unhandled exception occurs while executing the workflow.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public interface IHttpEndpointWorkflowFaultHandler
|
|
|
|
|
{
|
|
|
|
|
ValueTask HandleAsync(HttpEndpointFaultedWorkflowContext context);
|
|
|
|
|
}
|