<PackageReference Include="NUnit" Version="3.9.0" />

TestCaseTimeoutException

TestCaseTimeoutException is thrown when a test running directly on a TestWorker thread is cancelled due to timeout.
using System; using System.Runtime.Serialization; namespace NUnit.Framework.Internal { [Serializable] public class TestCaseTimeoutException : Exception { public TestCaseTimeoutException() { } public TestCaseTimeoutException(string message) : base(message) { } public TestCaseTimeoutException(string message, Exception inner) : base(message, inner) { } protected TestCaseTimeoutException(SerializationInfo info, StreamingContext context) : base(info, context) { } } }