mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
647db9635a
* Renaming Microsoft.Agent.Workflows to Microsoft.Agents.AI.Workflows * Removing local settings. * Removing remining old files from merge.
20 lines
657 B
C#
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;
|
|
}
|