Struct BaselibErrorState | Collections | 0.15.0-preview.21
docs.unity3d.com
    Show / Hide Table of Contents

    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
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023