Skip to main content

ExtractError Method

Gets an exception from an object that may be a BindingNotification.

Definition

Namespace: Avalonia.Data
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public static Object? ExtractError(
Object? o
)

Parameters

  Object
The object.

Return Value

Object
The value.

Remarks

If o is a BindingNotification then returns the binding notification's Error. If not, returns the object unchanged.

See Also

Reference

BindingNotification Class
Avalonia.Data Namespace