summaryrefslogtreecommitdiff
path: root/Library/PackageCache/com.unity.test-framework@1.1.11/UnityEditor.TestRunner/CommandLineTest/SetupException.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Library/PackageCache/com.unity.test-framework@1.1.11/UnityEditor.TestRunner/CommandLineTest/SetupException.cs')
-rw-r--r--Library/PackageCache/com.unity.test-framework@1.1.11/UnityEditor.TestRunner/CommandLineTest/SetupException.cs23
1 files changed, 23 insertions, 0 deletions
diff --git a/Library/PackageCache/com.unity.test-framework@1.1.11/UnityEditor.TestRunner/CommandLineTest/SetupException.cs b/Library/PackageCache/com.unity.test-framework@1.1.11/UnityEditor.TestRunner/CommandLineTest/SetupException.cs
new file mode 100644
index 0000000..2f4051b
--- /dev/null
+++ b/Library/PackageCache/com.unity.test-framework@1.1.11/UnityEditor.TestRunner/CommandLineTest/SetupException.cs
@@ -0,0 +1,23 @@
+using System;
+
+namespace UnityEditor.TestTools.TestRunner.CommandLineTest
+{
+ internal class SetupException : Exception
+ {
+ public ExceptionType Type { get; }
+ public object[] Details { get; }
+
+ public SetupException(ExceptionType type, params object[] details)
+ {
+ Type = type;
+ Details = details;
+ }
+
+ public enum ExceptionType
+ {
+ ScriptCompilationFailed,
+ PlatformNotFound,
+ TestSettingsFileNotFound,
+ }
+ }
+}