Files
agent-framework/dotnet/src/Microsoft.Agents.AI.Workflows/ExecutorFailedEvent.cs
T
Ben Thomas 647db9635a .NET: Rename workflows projects (#975)
* Renaming Microsoft.Agent.Workflows to Microsoft.Agents.AI.Workflows

* Removing local settings.

* Removing remining old files from merge.
2025-09-29 18:30:45 +00:00

20 lines
657 B
C#

// Copyright (c) Microsoft. All rights reserved.
using System;
namespace Microsoft.Agents.AI.Workflows;
/// <summary>
/// Event triggered when an executor handler fails.
/// </summary>
/// <param name="executorId">The unique identifier of the executor that has failed.</param>
/// <param name="err">The exception representing the error.</param>
public sealed class ExecutorFailedEvent(string executorId, Exception? err)
: ExecutorEvent(executorId, data: err)
{
/// <summary>
/// The exception that caused the executor to fail. This may be <c>null</c> if no exception was thrown.
/// </summary>
public new Exception? Data => err;
}