Xojo Conferences
MBSOct2019CologneDE

Platforms to show: All Mac Windows Linux Cross-Platform

NSErrorMBS.error(Domain as String, Code as Integer, UserInfo as dictionary = nil) as NSErrorMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS Main Plugin 18.5 Yes No No Yes, macOS only No
Function: Creates and initializes an NSError object for a given domain and code with a given userInfo dictionary.
Notes:
domain: The error domain—this can be one of the predefined NSError domains, or an arbitrary string describing a custom domain. domain must not be nil.
code: The error code for the error.
dict: The userInfo dictionary for the error. userInfo may be nil.

Returns an NSErrorMBS object for domain with the specified error code and the dictionary of arbitrary data userInfo.

Feedback, Comments & Corrections

NSErrorMBS.NSCocoaErrorDomain as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS Main Plugin 18.5 Yes No No Yes, macOS only No
Function: The cocoa error domain.

Feedback, Comments & Corrections

NSErrorMBS.NSFilePathErrorKey as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS Main Plugin 18.5 Yes No No Yes, macOS only No
Function: One of the user info dictionary keys.
Notes: Contains the file path of the error.

Feedback, Comments & Corrections

NSErrorMBS.NSLocalizedDescriptionKey as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS Main Plugin 18.5 Yes No No Yes, macOS only No
Function: One of the user info dictionary keys.
Notes: The corresponding value is a localized string representation of the error that, if present, will be returned by localizedDescription.

Feedback, Comments & Corrections

NSErrorMBS.NSLocalizedFailureReasonErrorKey as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS Main Plugin 18.5 Yes No No Yes, macOS only No
Function: One of the user info dictionary keys.
Notes: The corresponding value is a localized string representation containing the reason for the failure that, if present, will be returned by localizedFailureReason.

Feedback, Comments & Corrections

NSErrorMBS.NSLocalizedRecoveryOptionsErrorKey as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS Main Plugin 18.5 Yes No No Yes, macOS only No
Function: One of the user info dictionary keys.
Notes:
The corresponding value is an array containing the localized titles of buttons appropriate for displaying in an alert panel.

The first string is the title of the right-most and default button, the second the one to the left, and so on. The recovery options should be appropriate for the recovery suggestion returned by localizedRecoverySuggestion.

Feedback, Comments & Corrections

NSErrorMBS.NSLocalizedRecoverySuggestionErrorKey as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS Main Plugin 18.5 Yes No No Yes, macOS only No
Function: One of the user info dictionary keys.
Notes:
The corresponding value is a string containing the localized recovery suggestion for the error.

This string is suitable for displaying as the secondary message in an alert panel.

Feedback, Comments & Corrections

NSErrorMBS.NSMachErrorDomain as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS Main Plugin 18.5 Yes No No Yes, macOS only No
Function: Error domain for Mach errors.

Feedback, Comments & Corrections

NSErrorMBS.NSOSStatusErrorDomain as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS Main Plugin 18.5 Yes No No Yes, macOS only No
Function: Error domain for Mac OS 9/Carbon errors.

Feedback, Comments & Corrections

NSErrorMBS.NSPOSIXErrorDomain as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS Main Plugin 18.5 Yes No No Yes, macOS only No
Function: Error domain for unix errors.

Feedback, Comments & Corrections

NSErrorMBS.NSRecoveryAttempterErrorKey as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS Main Plugin 18.5 Yes No No Yes, macOS only No
Function: One of the user info dictionary keys.
Notes:
The corresponding value is an object that conforms to the NSErrorRecoveryAttempting informal protocol.

The recovery attempter must be an object that can correctly interpret an index into the array returned by recoveryAttempter.

Feedback, Comments & Corrections

NSErrorMBS.NSStringEncodingErrorKey as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS Main Plugin 18.5 Yes No No Yes, macOS only No
Function: One of the user info dictionary keys.
Notes: The corresponding value is an NSNumber object containing the NSStringEncoding value.

Feedback, Comments & Corrections

NSErrorMBS.NSUnderlyingErrorKey as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS Main Plugin 18.5 Yes No No Yes, macOS only No
Function: One of the user info dictionary keys.
Notes: The corresponding value is an error that was encountered in an underlying implementation and caused the error that the receiver represents to occur.

Feedback, Comments & Corrections

NSErrorMBS.NSURLErrorKey as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS Main Plugin 18.5 Yes No No Yes, macOS only No
Function: One of the user info dictionary keys.
Notes: The corresponding value is an NSURL object.

Feedback, Comments & Corrections

The items on this page are in the following plugins: MBS Main Plugin.

The biggest plugin in space...




Links
MBS Xojo Plugins