Struct BaselibErrorState
C# analog of Baselib_ErrorState.
Namespace: Unity.Collections.LowLevel.Unsafe
Syntax
public struct BaselibErrorState
Fields
code
Error code
Declaration
public uint code
Field Value
Type | Description |
---|---|
UInt32 |
nativeErrorCode
Platform-specific error code.
Declaration
public ulong nativeErrorCode
Field Value
Type | Description |
---|---|
UInt64 |
nativeErrorCodeType
Type of error code
Declaration
public byte nativeErrorCodeType
Field Value
Type | Description |
---|---|
Byte |
sourceLocation
Where in the source code this error came from.
Declaration
public BaselibSourceLocation sourceLocation
Field Value
Type | Description |
---|---|
BaselibSourceLocation |
Properties
InvalidAddressRange
Returns true when the recorded error state shows failure due to accessing an invalid address range.
Declaration
public bool InvalidAddressRange { get; }
Property Value
Type | Description |
---|---|
Boolean |
OutOfMemory
Returns true when the recorded error state shows failure due to running out of memory.
Declaration
public bool OutOfMemory { get; }
Property Value
Type | Description |
---|---|
Boolean |
Success
Returns true if result of recorded operation was success.
Declaration
public bool Success { get; }
Property Value
Type | Description |
---|---|
Boolean |