Struct NSError
Information about an error condition including a domain, a domain-specific error code, and application-specific information.
Implements
Inherited Members
Namespace: UnityEngine.XR.ARKit
Assembly: solution.dll
Syntax
public struct NSError : IEquatable<NSError>
Remarks
This is a wrapper for Objective-C's NSError object.
Properties
Name | Description |
---|---|
code | (Read Only) The error code associated with this NSError. |
domain | (Read Only) A string containing the error domain. |
isNull | (Read Only) Whether the underlying native pointer is |
localizedDescription | (Read Only) A string containing the localized description of the error. |
localizedFailureReason | (Read Only) A string containing the localized explanation of the reason for the error. |
localizedRecoverySuggestion | (Read Only) A string containing the localized recovery suggestion for the error. |
Methods
Name | Description |
---|---|
AsIntPtr() | Gets the underlying Objective-C pointer. |
Equals(object) | Tests for equality. |
Equals(NSError) | Determines whether |
GetHashCode() | Generates a hash code for this NSError. |
ToErrorDomain() | The domain as an NSErrorDomain enum. |
ToString() | Generates a string representation of this NSError. |
Operators
Name | Description |
---|---|
operator ==(NSError?, NSError?) | Tests for equality. |
operator ==(NSError, NSError) | Tests whether the underlying pointers for two NSError objects are the same. |
operator !=(NSError?, NSError?) | Tests for inequality. |
operator !=(NSError, NSError) | Tests whether the underlying pointers for two NSError objects are different. |