tgstation-server 6.12.0
The /tg/station 13 server suite
Loading...
Searching...
No Matches
InsufficientPermissionsException.cs
Go to the documentation of this file.
1using System;
2using System.Net.Http;
3
5{
10 {
15 public InsufficientPermissionsException(HttpResponseMessage responseMessage)
16 : base(
17 responseMessage,
18 "The current user has insufficient permissions to perform the requested operation!")
19 {
20 }
21
28
33 public InsufficientPermissionsException(string message)
34 : base(message)
35 {
36 }
37
43 public InsufficientPermissionsException(string message, Exception innerException)
44 : base(message, innerException)
45 {
46 }
47 }
48}
Occurs when the client attempts to perform an action they do not have the rights for.
InsufficientPermissionsException(string message)
Initializes a new instance of the InsufficientPermissionsException class.
InsufficientPermissionsException()
Initializes a new instance of the InsufficientPermissionsException class.
InsufficientPermissionsException(string message, Exception innerException)
Initializes a new instance of the InsufficientPermissionsException class.
InsufficientPermissionsException(HttpResponseMessage responseMessage)
Initializes a new instance of the InsufficientPermissionsException class.