Platforms to show: All Mac Windows Linux Cross-Platform

Back to SCNetworkReachabilityMBS class.

SCNetworkReachabilityMBS.Error as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared property SystemConfiguration MBS MacCF Plugin 4.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Returns the last error code.

A utility function which works with all SystemConfiguration methods.

kSCStatusOK= 0Success
kSCStatusFailed= 1001Non-specific failure
kSCStatusInvalidArgument= 1002Invalid argument
kSCStatusAccessError= 1003Permission denied - must be root to obtain lock - could not create access/create preferences
kSCStatusNoKey= 1004No such key
kSCStatusKeyExists= 1005Key already defined
kSCStatusLocked= 1006Lock already held
kSCStatusNeedLock= 1007Lock required for this operation
kSCStatusNoStoreSession= 2001Configuration daemon session not active
kSCStatusNoStoreServer= 2002Configuration daemon not (no longer) available
kSCStatusNotifierActive= 2003Notifier is currently active
kSCStatusNoPrefsSession= 3001Preference session not active
kSCStatusPrefsBusy= 3002Preferences update currently in progress
kSCStatusNoConfigFile= 3003Configuration file not found
kSCStatusNoLink= 3004No such link
kSCStatusStale= 3005Write attempted on stale version of object
kSCStatusMaxLink= 3006Maximum link count exceeded
kSCStatusReachabilityUnknown= 4001Network reachability cannot be determined
(Read only property)

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


The biggest plugin in space...