A game about forced loneliness, made by TACStudios
1using System; 2 3namespace UnityEngine.InputSystem.Utilities 4{ 5 internal static class ExceptionHelpers 6 { 7 public static bool IsExceptionIndicatingBugInCode(this Exception exception) 8 { 9 Debug.Assert(exception != null, "Exception is null"); 10 11 return exception is NullReferenceException || 12 exception is IndexOutOfRangeException || 13 exception is ArgumentException; 14 } 15 } 16}