Class NotAuthenticatedException
- Namespace
- OverKizApi.Exceptions
- Assembly
- OverKizApi.dll
Raised when the API returns "Not authenticated". The session cookie or bearer token has expired; call Login(bool) again to obtain a new session.
public class NotAuthenticatedException : ResourceAccessDeniedException, ISerializable, _Exception
- Inheritance
-
NotAuthenticatedException
- Implements
- Inherited Members
Remarks
Initialises a new instance with the specified error message.
Constructors
NotAuthenticatedException(string)
Raised when the API returns "Not authenticated". The session cookie or bearer token has expired; call Login(bool) again to obtain a new session.
public NotAuthenticatedException(string message)
Parameters
messagestringThe API error message.
Remarks
Initialises a new instance with the specified error message.