Class InvalidJwtException
Error occurred while decoding a JWT
Namespace: Unity.Services.Core.Editor
Syntax
[Serializable]
public class InvalidJwtException : Exception, ISerializable, _Exception
Constructors
InvalidJwtException(SerializationInfo, StreamingContext)
Initializes a new instance of the InvalidJwtException class with serialized data.
Declaration
protected InvalidJwtException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
SerializationInfo | info | The SerializationInfo that holds the serialized object data about the exception being thrown. |
StreamingContext | context | The StreamingContext that contains contextual information about the source or destination. |
Properties
ErrorCode
Gets the error code for the failure.
Declaration
public int ErrorCode { get; }
Property Value
Type | Description |
---|---|
Int32 |
Remarks
See CommonErrorCodes for common error codes. Consult the service documentation for specific error codes various APIs can return.
Token
The raw JWT that failed to decode.
Declaration
public string Token { get; }
Property Value
Type | Description |
---|---|
String |