Files
Hasebe/Library/PackageCache/com.unity.test-framework@33f8a1e9aefd/UnityEditor.TestRunner/Api/IErrorCallbacks.cs
T
2026-09-25 00:42:08 +03:00

19 lines
613 B
C#

using System;
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);
}
}