Scheduled Maintenance
9th of July 2025 at 10:00 AM, we'll be taking the site down for scheduled maintenance.
Version 3.3.1.2

ExceptionExtensions class

Namespace: Sirenix.OdinInspector.Editor
Assembly: Sirenix.OdinInspector.Editor
public static class ExceptionExtensions
Inheritance
  • System.Object
  • ExceptionExtensions

Methods

AsExitGUIException(Exception)
public static ExitGUIException AsExitGUIException(this Exception ex)
Parameters
System.Exception ex

Returns
UnityEngine.ExitGUIException

IsExitGUIException(Exception)
public static bool IsExitGUIException(this Exception ex)
Parameters
System.Exception ex

Returns
System.Boolean

UnwrapException(Exception)
Unwraps TargetInvocationException and TypeInitializationException
public static Exception UnwrapException(this Exception ex)
Parameters
System.Exception ex

Returns
System.Exception