Platforms to show: All Mac Windows Linux Cross-Platform
NSErrorMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | Cocoa | MBS Main Plugin | 7.7 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
- 8 properties
- property code as Integer
- property description as string
- property domain as string
- property Handle as Integer
- property localizedDescription as string
- property localizedFailureReason as string
- property localizedRecoverySuggestion as string
- property userInfo as dictionary
- 2 methods
- method Constructor(Domain as String, Code as Integer, UserInfo as dictionary = nil)
- method Constructor(Handle as Integer)
- 14 shared methods
- shared method error(Domain as String, Code as Integer, UserInfo as dictionary = nil) as NSErrorMBS
- shared method NSCocoaErrorDomain as String
- shared method NSFilePathErrorKey as String
- shared method NSLocalizedDescriptionKey as String
- shared method NSLocalizedFailureReasonErrorKey as String
- shared method NSLocalizedRecoveryOptionsErrorKey as String
- shared method NSLocalizedRecoverySuggestionErrorKey as String
- shared method NSMachErrorDomain as String
- shared method NSOSStatusErrorDomain as String
- shared method NSPOSIXErrorDomain as String
- shared method NSRecoveryAttempterErrorKey as String
- shared method NSStringEncodingErrorKey as String
- shared method NSUnderlyingErrorKey as String
- shared method NSURLErrorKey as String
This class has no sub classes.
Some methods using this class:
- AVMutableCompositionMBS.insert(asset as AVAssetMBS, startTime as CMTimeMBS, byref error as NSErrorMBS) as boolean
- AVMutableMovieMBS.movieWithURL(URL as String, Options as Dictionary = nil, byref Error as NSErrorMBS) as AVMovieMBS
- CWWiFiClientMBS.stopMonitoringAllEvents(byref error as NSErrorMBS) as boolean
- GADRewardedAdMBS.canPresent(byref error as NSErrorMBS) as Boolean
- MLFeatureValueMBS.featureValueWithDictionary(value as Dictionary, byref error as NSErrorMBS) as MLFeatureValueMBS
- MLModelMBS.parameterValueForKey(key as MLParameterKeyMBS, byref error as NSErrorMBS) as Variant
- NSFileCoordinatorMBS.prepareForReadingItemsAtURLs(readingFiles() as folderitem, readingOptions as Integer, writingItemsAtFiles() as folderitem, writingOptions as Integer, byref error as NSErrorMBS, tag as Variant = nil)
- NSFileManagerMBS.attributesOfItemAtPath(item as folderitem, byref error as NSErrorMBS) as Dictionary
- NSSpeechSynthesizerMBS.setObjectForProperty(value as Variant, PropertyName as string, byref error as NSErrorMBS) as boolean
- OSAScriptMBS.Constructor(Data as NSAppleEventDescriptorMBS, URL as String, LanguageInstance as OSALanguageInstanceMBS, storageOptions as Integer, byref error as NSErrorMBS)
Some properties using for this class:
- AVAssetExportSessionMBS.error as NSErrorMBS
- AVPlayerItemMBS.error as NSErrorMBS
- AVPlayerMBS.error as NSErrorMBS
- MKMapSnapshotterMBS.Error as NSErrorMBS
- MLTaskMBS.Error as NSErrorMBS
- NSURLSessionTaskMBS.error as NSErrorMBS
- PHPhotoLibraryMBS.unavailabilityReason as NSErrorMBS
- SFSpeechRecognitionTaskMBS.Error as NSErrorMBS
- SKDownloadMBS.error as NSErrorMBS
- SKPaymentTransactionMBS.error as NSErrorMBS
Some events using this class:
- CBPeripheralMBS.DidDiscoverDescriptorsForCharacteristic(characteristic as CBCharacteristicMBS, error as NSErrorMBS)
- CBPeripheralMBS.DidUpdateNotificationStateForCharacteristic(characteristic as CBCharacteristicMBS, error as NSErrorMBS)
- CKDatabaseMBS.saveSubscriptionCompleted(subscription as CKSubscriptionMBS, error as NSErrorMBS, tag as Variant)
- GADInterstitialAdMBS.DidFailToPresentFullScreenContentWithError(error as NSErrorMBS)
- GADRewardedInterstitialAdMBS.DidFailToPresentFullScreenContentWithError(error as NSErrorMBS)
- GameKitMBS.loadAchievementDescriptionsCompleted(achievements() as GKAchievementDescriptionMBS, error as NSErrorMBS, tag as Variant)
- GameKitMBS.saveCurrentTurnWithMatchDataCompleted(match as GKTurnBasedMatchMBS, matchData as Dictionary, error as NSErrorMBS, tag as Variant)
- IKScannerDeviceViewMBS.DidScanToURL(url as String, file as FolderItem, fileData as MemoryBlock, error as NSErrorMBS)
- ImageCaptureEventsMBS.cameraDeviceDidSendPTPCommand(command as Memoryblock, data as Memoryblock, response as MemoryBlock, error as NSErrorMBS, device as ICCameraDeviceMBS)
- ImageCaptureEventsMBS.scannerDeviceDidCompleteScanWithError(scanner as ICScannerDeviceMBS, error as NSErrorMBS)
Some examples using this class:
- /AVFoundation/AVAudioPlayer Loop
- /Mac64bit/CoreML/CoreML Model Info
- /Mac64bit/Photos/Photos
- /Mac64bit/Post To Facebook
- /Mac64bit/Post To Twitter
- /MacCloud/Push Notification/Push Notification
- /MacFrameworks/GameKit Player
- /MacFrameworks/OpenDirectory Test
- /MacFrameworks/Sharing/Custom Sharing Service
- /Picture/Export Image to Photo Album/Export Image to Photo Album
Blog Entries
- Contacts history for Xojo
- News from the MBS Xojo Plugins Version 21.1
- Write audio file with samples using AVFoundation
- MBS Xojo Plugins, version 18.5pr2
- Automated video editing with Xojo
- MBS Xojo / Real Studio Plugins, version 13.2pr7
- MBS Xojo / Real Studio Plugins, version 13.2pr4
- MBS REALbasic Plugins, version 10.6pr4
- MBS REALbasic plug-in 9.6
Xojo Developer Magazine
- 18.6, page 71: MapKit Part 7, Implementing Maps in Xojo desktop apps with the MapKitMBS plugin by Markus Winter
- 18.3, page 80: Xojo Maps, Part 4, Finding and Displaying Addresses with the MapKitMBS plugin by Markus Winter
- 18.3, page 72: Xojo Maps, Part 4, Finding and Displaying Addresses with the MapKitMBS plugin by Markus Winter
- 15.5, page 46: Touché, Using Apple's Touch Bar with Xojo by Marc Zeedar
- 12.6, page 35: Writing OS X Apps for Game Center, Part 3: Turn-Based Games by Tom Baumgartner
- 12.6, page 27: Writing OS X Apps for Game Center, Part 3: Turn-Based Games by Tom Baumgartner
- 12.6, page 25: Writing OS X Apps for Game Center, Part 3: Turn-Based Games by Tom Baumgartner
- 12.5, pages 31 to 32: Writing OS X Apps for Game Center, Part 2: Requesting a Match by Tom Baumgartner
- 12.4, page 31: Writing OS X Apps for Game Center, Getting started by authenticating the local player with the Game Center Sandbox testing facility by Tom Baumgartner
- 12.2, pages 45 to 46: Moving to AVFoundation, Leaving QuickTime behind by Christian Schmitz
Release notes
- Version 18.5
- Added more NSErrorMBS methods to create custom error objects.
The items on this page are in the following plugins: MBS Main Plugin.