Class FriendsServiceException
Represents an exception that occurs when communicating with the Unity Friends Service.
Inherited Members
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 |