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:
- CWInterfaceMBS.commitConfiguration(config as CWConfigurationMBS, SFAuthorizationRef as Integer, byref error as NSErrorMBS) as boolean
- EKEventStoreMBS.removeCalendar(calendar as EKCalendarMBS, commit as boolean, byref error as NSErrorMBS) as boolean
- GADRewardedAdMBS.canPresent(byref error as NSErrorMBS) as Boolean
- NSFileCoordinatorMBS.coordinateReadingItemAtURLwritingItemAtURL(readingFile as folderitem, readingOptions as Integer, writingItemAtFile as folderitem, writingOptions as Integer, byref error as NSErrorMBS, tag as Variant = nil)
- NSFileManagerMBS.linkItem(source as folderItem, dest as folderItem, byref error as NSErrorMBS) as boolean
- NSFileVersionMBS.replaceItemAtURL(url as string, options as Integer, byref error as NSErrorMBS) as string
- NSFileWrapperMBS.readFromFile(File as FolderItem, Options as Integer = 0, byref Error as NSErrorMBS) as Boolean
- ODNodeMBS.supportedAttributesForRecordType(RecordType as String, byref error as NSErrorMBS) as String()
- OSAScriptMBS.Constructor(Data as NSAppleEventDescriptorMBS, URL as String, LanguageInstance as OSALanguageInstanceMBS, storageOptions as Integer, byref error as NSErrorMBS)
- VNClassifyImageRequestMBS.knownClassificationsForRevision(requestRevision as Integer = 1, byref error as NSErrorMBS) as VNClassificationObservationMBS()
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:
- AVFoundationMBS.audioRecorderEncodeErrorDidOccur(recorder as AVAudioRecorderMBS, error as NSErrorMBS)
- CBPeripheralMBS.DidDiscoverIncludedServicesForService(service as CBServiceMBS, error as NSErrorMBS)
- CKContainerMBS.discoverAllContactUserInfosCompleted(userRecordID() as CKDiscoveredUserInfoMBS, error as NSErrorMBS, tag as Variant)
- CKContainerMBS.discoverUserIdentityWithPhoneNumberCompleted(phoneNumber as String,userInfo as CKUserIdentityMBS, error as NSErrorMBS, tag as Variant)
- CKDatabaseMBS.deleteRecordZoneWithIDCompleted(zoneID as CKRecordZoneIDMBS, error as NSErrorMBS, tag as Variant)
- CKDiscoverAllUserIdentitiesOperationMBS.discoverAllUserIdentitiesCompleted(operationError as NSErrorMBS)
- GameKitMBS.queryActivityCompleted(MatchMaker as GKMatchmakerMBS, activity as Integer, error as NSErrorMBS, tag as Variant)
- GameKitMBS.removeCompleted(match as GKTurnBasedMatchMBS, error as NSErrorMBS, tag as Variant)
- ImageCaptureEventsMBS.deviceDidCloseSessionWithError(device as ICDeviceMBS, error as NSErrorMBS)
- ImageCaptureEventsMBS.deviceDidSendMessage(messageCode as UInt32, data as Memoryblock, error as NSErrorMBS, device as ICDeviceMBS)
Some examples using this class:
- /AVFoundation/Live Barcode Detection iOS/Live Barcode Detection iOS
- /AVFoundation/Merge Audio and Video
- /AVFoundation/Screen Recorder
- /iOS/iOS MessageUI
- /Mac64bit/EventKit/MBS iOS EventKit demo
- /MacCocoa/MethodDraw SVG Editor/MethodDraw
- /MacCocoa/NSURL Free Disk Space
- /MacFrameworks/CoreLocation/Locate Address
- /MacFrameworks/Sharing/Custom Sharing Service
- /MacFrameworks/SpeechRecognition Test/SpeechRecognition Test
Some related classes:
- class AVAssetExportSessionMBS
- class CBPeripheralMBS
- class CKDatabaseMBS
- class CWConfigurationMBS
- class GADRewardedAdMBS
- class GKTurnBasedMatchMBS
- class MKMapSnapshotterMBS
- class NSAppleEventDescriptorMBS
- class SKDownloadMBS
- class VNClassificationObservationMBS
The items on this page are in the following plugins: MBS Main Plugin.