Singularity/Library/PackageCache/com.unity.test-framework@1..../UnityEditor.TestRunner/Api/IErrorCallbacks.cs

17 lines
598 B
C#
Raw Permalink Normal View History

2024-05-06 14:45:45 -04:00
namespace UnityEditor.TestTools.TestRunner.Api
{
/// <summary>
/// An extended version of the <see cref="ICallbacks"/>, which get invoked if the test run fails due to a build error or if any <see cref="UnityEngine.TestTools.IPrebuildSetup"/> has a failure.
/// </summary>
public interface IErrorCallbacks : ICallbacks
{
/// <summary>
/// Method invoked on failure.
/// </summary>
/// <param name="message">
/// The error message detailing the reason for the run to fail.
/// </param>
void OnError(string message);
}
}