RhinoAccountsAuthTokenMismatchException

RhinoAccountsExceptionException
Exception thrown when the currently logged in user is different from the newly logged in user.

Constructors

RhinoAccountsAuthTokenMismatchException

#Since v7.0
public RhinoAccountsAuthTokenMismatchException(Exception innerException = null)
Generates a new instance of the exception.
innerException (Exception = null)The inner exception.

RhinoAccountsAuthTokenMismatchException

#Since v7.0
public RhinoAccountsAuthTokenMismatchException(string currentUsername, string newUsername, Exception innerException = null)
Generates a new instance of the exception.
currentUsername (string)The name of the currently logged in user.
newUsername (string)The name of the newly logged in user.
innerException (Exception = null)The inner exception.

RhinoAccountsAuthTokenMismatchException

#Since v7.0
public RhinoAccountsAuthTokenMismatchException(string message, Exception innerException = null)
Generates a new instance of the exception.
message (string)The message of the exception.
innerException (Exception = null)The inner exception.