Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSErrorMBS class.

NSErrorMBS.Constructor(Domain as String, Code as Integer, UserInfo as dictionary = nil)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS Main Plugin 18.5 ✅ Yes ❌ No ❌ No ✅ Yes All
Initializes error for a given domain and code with a given userInfo dictionary.

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 initialized for domain with the specified error code and the dictionary of arbitrary data userInfo.

See also:

NSErrorMBS.Constructor(Handle as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS Main Plugin 13.1 ✅ Yes ❌ No ❌ No ✅ Yes All
The constructor for a handle value of NSError.

Retains reference number and destructor later releases it.
Handle must be a NSError reference number and should not be zero.

See also:

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


The biggest plugin in space...