docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class AuthenticationException

    AuthenticationException represents a runtime exception from authentication.

    Inheritance
    object
    Exception
    RequestFailedException
    AuthenticationException
    Implements
    ISerializable
    _Exception
    Inherited Members
    RequestFailedException.ErrorCode
    Exception.GetBaseException()
    Exception.ToString()
    Exception.GetObjectData(SerializationInfo, StreamingContext)
    Exception.GetType()
    Exception.Message
    Exception.Data
    Exception.InnerException
    Exception.TargetSite
    Exception.StackTrace
    Exception.HelpLink
    Exception.Source
    Exception.HResult
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: Unity.Services.Authentication
    Assembly: solution.dll
    Syntax
    public sealed class AuthenticationException : RequestFailedException, ISerializable, _Exception
    Remarks

    See AuthenticationErrorCodes for possible error codes. Consult the service documentation for specific error codes various APIs can return.

    Methods

    Name Description
    Create(int, string, Exception)

    Creates the exception base on errorCode range. If the errorCode is less than AuthenticationErrorCodes.MinValue it creates a RequestFailedException. Otherwise it creates an AuthenticationException

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)