# NSDKError Source: https://www.nianticspatial.com/docs/api/swift/NSDK.enum-NSDKError/ NSDKError --- ## Declaration enum NSDKError ## Summary Errors thrown by the NSDK API. `NSDKError` a subset of all the `ARDK_Status`codes returned by the C API, containing just those that can occur in the Swift environment. --- ## Cases | Name | Type | Summary | | --- | --- | --- | | case invalidArgument | invalidArgument | An invalid argument was provided to the operation.This occurs when arguments are technically valid (non-null) butcontain invalid values, such as out-of-range numbers or malformed data. | | case invalidOperation | invalidOperation | The requested operation cannot be performed in the current state.For example, trying to start a feature that's already running,or attempting to get data before initialization is complete. | | case nullArgument | nullArgument | A null argument was passed where a valid value was required.This typically indicates an internal error, as the Swift wrappershould prevent null arguments from being passed to the C API. | | case unknown | String) | Indicates an internal malfunction. In a working version of NSDK,an application should never see this result code. | --- ## Properties | Name | Type | Summary | | --- | --- | --- | | var localizedDescription | String | Retrieve the localized description for this error. | --- ## Operators | Name | Type | Summary | | --- | --- | --- | | static func != | Bool | Returns a Boolean value indicating whether two values are not equal.Inequality is the inverse of equality. For any values `a` and `b`, `a != b`implies that `a == b` is `false`.This is the default implementation of the not-equal-to operator (`!=`)for any type that conforms to `Equatable`. | | static func == | Bool | Returns a Boolean value indicating whether two values are equal.Equality is the inverse of inequality. For any values `a` and `b`,`a == b` implies that `a != b` is `false`. | --- ## Relationships conforms to: Swift.Error conforms to: Swift.Equatable conforms to: Swift.Sendable conforms to: Swift.SendableMetatype