docs.unity3d.com
    Show / Hide Table of Contents

    Class RelationshipsServiceException

    Represents an exception that occurs when communicating with the Unity Relationships Service.

    Inheritance
    Object
    Exception
    RequestFailedException
    RelationshipsServiceException
    Namespace: Unity.Services.Friends.Exceptions
    Syntax
    public class RelationshipsServiceException : RequestFailedException, ISerializable, _Exception

    Constructors

    RelationshipsServiceException(RelationshipErrorCode, String, Exception, RelationshipErrorCode)

    Creates a FriendsServiceException.

    Declaration
    public RelationshipsServiceException(RelationshipErrorCode reason, string message, Exception innerException, RelationshipErrorCode errorCode = RelationshipErrorCode.Unknown)
    Parameters
    Type Name Description
    RelationshipErrorCode reason

    The error code or the HTTP Status returned by the service.

    String message

    The description of the exception.

    Exception innerException

    The exception raised by the service, if any.

    RelationshipErrorCode errorCode

    The error code to be used when raising the issue to the sdk user.

    Properties

    ErrorCode

    Specific error code

    Declaration
    public RelationshipErrorCode ErrorCode { get; }
    Property Value
    Type Description
    RelationshipErrorCode

    Reason

    The reason of the exception.

    Declaration
    public RelationshipErrorCode Reason { get; }
    Property Value
    Type Description
    RelationshipErrorCode
    Back to top
    Terms of use
    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