NSAccessibilityRaiseBadArgumentException

Function NSAccessibilityRaiseBadArgumentException 

Source
pub unsafe extern "C-unwind" fn NSAccessibilityRaiseBadArgumentException(
    element: Option<&AnyObject>,
    attribute: Option<&NSAccessibilityAttributeName>,
    value: Option<&AnyObject>,
)
๐Ÿ‘ŽDeprecated: Exceptions are no longer appropriate for indicating errors in accessibility API. Unexpected values should be handled through appropriate type checking.
Available on crate features NSAccessibility and NSAccessibilityConstants only.
Expand description

ยงSafety

  • element should be of the correct type.
  • element might not allow None.
  • attribute might not allow None.
  • value should be of the correct type.
  • value might not allow None.