tgstation-server 6.12.0
The /tg/station 13 server suite
Loading...
Searching...
No Matches
UnauthorizedException.cs
Go to the documentation of this file.
1using System;
2using System.Net.Http;
3
5
7{
11 public sealed class UnauthorizedException : ApiException
12 {
18 public UnauthorizedException(ErrorMessageResponse? errorMessage, HttpResponseMessage responseMessage)
19 : base(errorMessage, responseMessage)
20 {
21 }
22
27 {
28 }
29
34 public UnauthorizedException(string message)
35 : base(message)
36 {
37 }
38
44 public UnauthorizedException(string message, Exception innerException)
45 : base(message, innerException)
46 {
47 }
48 }
49}
Represents an error message returned by the server.
Occurs when the client provides invalid credentials.
UnauthorizedException(ErrorMessageResponse? errorMessage, HttpResponseMessage responseMessage)
Initializes a new instance of the UnauthorizedException class.
UnauthorizedException(string message)
Initializes a new instance of the UnauthorizedException class.
UnauthorizedException()
Initializes a new instance of the UnauthorizedException class.
UnauthorizedException(string message, Exception innerException)
Initializes a new instance of the UnauthorizedException class.