docs.unity3d.com
    Show / Hide Table of Contents

    Class FriendsServiceException

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

    Inheritance
    Object
    Exception
    RequestFailedException
    FriendsServiceException
    Inherited Members
    RequestFailedException.ErrorCode
    Namespace: Unity.Services.Friends.Exceptions
    Syntax
    public class FriendsServiceException : RequestFailedException, ISerializable, _Exception

    Constructors

    FriendsServiceException(FriendsExceptionReason, String, Exception)

    Creates a FriendsServiceException.

    Declaration
    public FriendsServiceException(FriendsExceptionReason reason, string message, Exception innerException)
    Parameters
    Type Name Description
    FriendsExceptionReason 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.

    Properties

    Reason

    The reason of the exception.

    Declaration
    public FriendsExceptionReason Reason { get; }
    Property Value
    Type Description
    FriendsExceptionReason
    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