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:
- AVMutableMovieMBS.Constructor(Movie as AVMovieMBS = nil, Options as Dictionary = nil, byref error as NSErrorMBS)
- CNContactStoreMBS.unifiedMeContactWithKeysToFetch(keys() as CNKeyDescriptorMBS, byref error as NSErrorMBS) as CNContactMBS
- GADRewardedAdMBS.canPresent(byref error as NSErrorMBS) as Boolean
- GKMatchMBS.sendDataToPlayers(players() as string, data as Dictionary, mode as Integer, byref error as NSErrorMBS) as boolean
- MLDictionaryFeatureProviderMBS.Constructor(content as Dictionary, byref error as NSErrorMBS)
- MLFeatureValueMBS.featureValueWithDictionary(value as Dictionary, byref error as NSErrorMBS) as MLFeatureValueMBS
- MLModelMBS.compileModelFile(File as folderItem, byref error as NSErrorMBS) as folderItem
- MLUpdateTaskMBS.Constructor(file as FolderItem, trainingData as MLArrayBatchProviderMBS, configuration as MLModelConfigurationMBS, byref error as NSErrorMBS)
- NSFileWrapperMBS.readFromURL(URL as String, Options as Integer = 0, byref Error as NSErrorMBS) as Boolean
- TKSmartCardMBS.beginSessionSync(byref error as NSErrorMBS) as Boolean
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:
- CBPeripheralManagerMBS.DidPublishL2CAPChannel(PSM as Integer, error as NSErrorMBS)
- CKDiscoverUserInfosOperationMBS.discoverUserInfosCompleted(emailsToUserInfos as Dictionary, userRecordIDsToUserInfos as Dictionary, operationError as NSErrorMBS)
- CKFetchShareParticipantsOperationMBS.fetchShareParticipantsCompleted(operationError as NSErrorMBS)
- DesktopMapKitViewControlMBS.didFailLoadingMap(mapView as MKMapViewMBS, error as NSErrorMBS)
- GameKitMBS.loadPhotoForSizeCompleted(player as GKPlayerMBS, size as Integer, photo as NSImageMBS, error as NSErrorMBS, tag as Variant)
- GameKitMBS.loadReceivedChallengesCompleted(challenges() as GKChallengeMBS, error as NSErrorMBS, tag as Variant)
- IKCameraDeviceViewControlMBS.DidEncounterError(Error as NSErrorMBS)
- NSUserActivityEventsMBS.gotContinuationStreams(userActivity as NSUserActivityMBS, inputStream as Variant, outputStream as Variant, error as NSErrorMBS)
- TKSmartCardMBS.sendInsCompleted(ins as UInt8, p1 as UInt8, p2 as UInt8, requestData as MemoryBlock, le as integer, replyData as MemoryBlock, sw as UInt16, error as NSErrorMBS, tag as Variant)
- UNUserNotificationCenterMBS.addNotificationRequestCompleted(request as UNNotificationRequestMBS, error as NSErrorMBS, tag as variant)
Some examples using this class:
- /AVFoundation/AVMidiPlayer
- /AVFoundation/Transparent Player
- /iOS/iOS Printing
- /Mac64bit/Contacts/CNContactPicker Test
- /Mac64bit/EventKit/MBS iOS EventKit demo
- /Mac64bit/Post To Facebook
- /Mac64bit/Post To Twitter
- /Mac64bit/WebKit2/HTMLViewer Save As PDF
- /MacCocoa/Data Detectors
- /MacFrameworks/Image Capture/Camera Browser
Some related classes:
- class AVAssetExportSessionMBS
- class AVMovieMBS
- class CNContactStoreMBS
- class MKMapViewMBS
- class MLDictionaryFeatureProviderMBS
- class MLUpdateTaskMBS
- class NSFileWrapperMBS
- class SFSpeechRecognitionTaskMBS
- class SKDownloadMBS
- class UNNotificationRequestMBS
The items on this page are in the following plugins: MBS Main Plugin.
