Handle new non-retryable exception type (#3191)

* Handle new non-retryable exception type

* Update ActionManager.cs
This commit is contained in:
Jacob Wallraff
2024-03-21 11:50:45 -07:00
committed by GitHub
parent bc8b6e0152
commit 4b85145661
2 changed files with 21 additions and 1 deletions

View File

@@ -2498,6 +2498,25 @@ namespace GitHub.DistributedTask.WebApi
}
}
[Serializable]
public class NonRetryableActionDownloadInfoException : DistributedTaskException
{
public NonRetryableActionDownloadInfoException(String message)
: base(message)
{
}
public NonRetryableActionDownloadInfoException(String message, Exception innerException)
: base(message, innerException)
{
}
protected NonRetryableActionDownloadInfoException(SerializationInfo info, StreamingContext context)
: base(info, context)
{
}
}
[Serializable]
public sealed class FailedToResolveActionDownloadInfoException : DistributedTaskException
{