tgstation-server 5.12.1
The /tg/station 13 server suite
Loading...
Searching...
No Matches
HeadersException.cs
Go to the documentation of this file.
1using System;
2
4{
8 public sealed class HeadersException : Exception
9 {
14
20 public HeadersException(HeaderTypes missingOrMalformedHeaders, string message) : base(message)
21 {
22 MissingOrMalformedHeaders = missingOrMalformedHeaders;
23 }
24
29 {
30 }
31
36 public HeadersException(string message) : base(message)
37 {
38 }
39
45 public HeadersException(string message, Exception innerException) : base(message, innerException)
46 {
47 }
48 }
49}
Thrown when trying to generate ApiHeaders from Microsoft.AspNetCore.Http.Headers.RequestHeaders fails...
HeadersException(string message)
Initializes a new instance of the HeadersException class.
HeadersException()
Initializes a new instance of the HeadersException class.
HeadersException(string message, Exception innerException)
Initializes a new instance of the HeadersException class.
HeaderTypes MissingOrMalformedHeaders
The HeaderTypess that are missing or malformed.
HeadersException(HeaderTypes missingOrMalformedHeaders, string message)
Initializes a new instance of the HeadersException class.
HeaderTypes
Types of individual ApiHeaders.
Definition: HeaderTypes.cs:10