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.
Blog Entries
- Find computer location
- Managing File Access in Xojo with NSFileCoordinator
- Picking picture on macOS
- Send email message in iOS Xojo App
- Print dialogs for iOS in Xojo
- Contacts history for Xojo
- News from the MBS Xojo Plugins Version 21.1
- Write audio file with samples using AVFoundation
- Automated video editing with Xojo
- MBS REALbasic plug-in 9.6
Xojo Developer Magazine
- 22.4, page 57: Text Recognition, Using Apple's Vision to Extract Text from an Image by Stefanie Juchmes-Simonis
- 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
- 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.
Some methods using this class:
- AVAudioPlayerMBS.Constructor(Data as MemoryBlock, byref error as NSErrorMBS)
- AVAudioPlayerMBS.Constructor(URL as string, byref error as NSErrorMBS)
- CKRecordMBS.archive(byref error as NSErrorMBS) as MemoryBlock
- CNContactStoreMBS.groupsForContact(contact as CNContactMBS, byref error as NSErrorMBS) as CNGroupMBS()
- MLModelMBS.compileModelAtURL(URL as string, byref error as NSErrorMBS) as String
- NSFileManagerMBS.attributesOfItemAtPath(item as folderitem, byref error as NSErrorMBS) as Dictionary
- NSFileVersionMBS.removeOtherVersionsOfItemAtURL(file as folderitem, byref error as NSErrorMBS) as boolean
- NSFileWrapperMBS.writeToFile(File as FolderItem, Options as Integer = 0, originalContentsURL as FolderItem = nil, byref Error as NSErrorMBS) as Boolean
- VNRecognizeTextRequestMBS.supportedRecognitionLanguages(recognitionLevel as Integer, byref error as NSErrorMBS) as String()
- WKWebViewMBS.WebArchiveData(byref error as NSErrorMBS) as MemoryBlock
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.DidDiscoverCharacteristicsForService(service as CBServiceMBS, error as NSErrorMBS)
- CKContainerMBS.discoverAllIdentitiesWithCompleted(userRecordID() as CKUserIdentityMBS, error as NSErrorMBS, tag as Variant)
- CKFetchRecordZonesOperationMBS.fetchRecordZonesCompleted(recordZonesByZoneID as Dictionary, operationError as NSErrorMBS)
- CLLocationManagerMBS.monitoringDidFailForRegion(region as CLRegionMBS, error as NSErrorMBS)
- GameKitMBS.matchmakerViewControllerDidFailWithError(viewController as Variant, error as NSErrorMBS)
- GameKitMBS.reportAchievementCompleted(score as GKAchievementMBS, error as NSErrorMBS, tag as Variant)
- GameKitMBS.reportScoreCompleted(score as GKScoreMBS, error as NSErrorMBS, tag as Variant)
- SUUpdaterMBS.didAbortWithError(error as NSErrorMBS)
- SUUpdaterMBS.failedToDownloadUpdate(item as SUAppcastItemMBS, error as NSErrorMBS)
- TKTokenSessionMBS.beginAuthForOperation(operation as Integer, constraint as Variant, byref error as NSErrorMBS) as TKTokenAuthOperationMBS
Some examples using this class:
- /AVFoundation/Generate Thumbnails
- /AVFoundation/Make Video From Images
- /AVFoundation/Simple Player
- /iOS/CallKit Test
- /iOS/DeviceCheck Test
- /Mac64bit/EventKit/MBS iOS EventKit demo
- /Mac64bit/Photos/Photos
- /Mac64bit/WebKit2/HTMLViewer Source Data
- /MacFrameworks/CoreLocation/Locate Address
- /MacFrameworks/Sign in with Apple/Sign In with Apple Mac
Some related classes:
- class CBServiceMBS
- class CNContactStoreMBS
- class CNGroupMBS
- class GameKitMBS
- class GKScoreMBS
- class MLTaskMBS
- class NSFileManagerMBS
- class NSFileWrapperMBS
- class SUUpdaterMBS
- class TKTokenAuthOperationMBS
The items on this page are in the following plugins: MBS Main Plugin.