raiseBadArgumentException(_:_:_:)
Raises an error if the parameter is the wrong type or has an illegal value
Declaration
static func raiseBadArgumentException(_ element: Any!, _ attribute: NSAccessibility.Attribute!, _ value: Any!)Discussion
Raises an error if a parameter is the wrong type or has an illegal value. This function can also be used to raise an error if an attempt is made to set an attribute’s value with the wrong type or an illegal value.
See Also
Functions
NSConvertGlyphsToPackedGlyphs(_:_:_:_:)NSReleaseAlertPanel(_:)NSDisableScreenUpdates()NSEnableScreenUpdates()NSDrawColorTiledRects(_:_:_:_:_:)NSSetShowsServicesMenuItem(_:_:)NSCopyBits(_:_:_:)NSShowsServicesMenuItem(_:)NSDottedFrameRect(_:)NSReadPixel(_:)NSGetWindowServerMemory(_:_:_:_:)fileContentsType(forPathExtension:)fileNameType(forPathExtension:)representedPathExtensionrepresentedPathExtensions(from:)