Class AuthenticationException
AuthenticationException represents a runtime exception from authentication.
Namespace: Unity.Services.Authentication
Syntax
public class AuthenticationException : RequestFailedException
Methods
Create(Int32, String, Exception)
Creates the exception base on errorCode range.
If the errorCode is less than AuthenticationErrorCodes.MinValue it creates a
Declaration
public static RequestFailedException Create(int errorCode, string message, Exception innerException = null)
Parameters
Type | Name | Description |
---|---|---|
Int32 | errorCode | |
String | message | |
Exception | innerException |
Returns
Type | Description |
---|---|
RequestFailedException |