tgstation-server 6.12.3
The /tg/station 13 server suite
Loading...
Searching...
No Matches
AuthenticationException.cs
Go to the documentation of this file.
1using System;
2
4{
8 public sealed class AuthenticationException : Exception
9 {
13 public ILogin_Login_Errors_ErrorMessageError? ErrorMessage { get; }
14
19 public AuthenticationException(ILogin_Login_Errors_ErrorMessageError errorMessage)
20 : base(errorMessage?.Message)
21 {
22 ErrorMessage = errorMessage ?? throw new ArgumentNullException(nameof(errorMessage));
23 }
24
29 {
30 }
31
36 public AuthenticationException(string message)
37 : base(message)
38 {
39 }
40
46 public AuthenticationException(string message, Exception innerException)
47 : base(message, innerException)
48 {
49 }
50 }
51}
Exception thrown when automatic IGraphQLServerClient authentication fails.
AuthenticationException()
Initializes a new instance of the AuthenticationException class.
AuthenticationException(string message)
Initializes a new instance of the AuthenticationException class.
AuthenticationException(string message, Exception innerException)
Initializes a new instance of the AuthenticationException class.
ILogin_Login_Errors_ErrorMessageError? ErrorMessage
The ILogin_Login_Errors_ErrorMessageError.
AuthenticationException(ILogin_Login_Errors_ErrorMessageError errorMessage)
Initializes a new instance of the AuthenticationException class.