v1.1.4
Latest
2022.3+

Class SessionException

The exception for session operations

Inheritance
System.Object
System.Exception
SessionException
Inherited Members
System.Exception.GetBaseException()
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Exception.GetType()
System.Exception.Message
System.Exception.Data
System.Exception.InnerException
System.Exception.TargetSite
System.Exception.StackTrace
System.Exception.HelpLink
System.Exception.Source
System.Exception.HResult
System.Exception.SerializeObjectState
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()
Namespace: Unity.Services.Multiplayer
Syntax
public class SessionException : Exception, ISerializable, _Exception

Properties

Error

Gets the error type

Declaration
public SessionError Error { get; }
Property Value
TypeDescription
SessionError

Methods

ToString()

Returns a string representation of the SessionExceptioninstance.

Declaration
public override string ToString()
Returns
TypeDescription
System.String

A string that represents the current exception with its SessionError and its System.Exception.Message.

Overrides
System.Exception.ToString()