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 |
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 |
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.