tgstation-server 6.12.3
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(HeaderErrorTypes parseErrors, string message)
21 : base(message)
22 {
23 ParseErrors = parseErrors;
24 }
25
30 {
31 }
32
37 public HeadersException(string message)
38 : base(message)
39 {
40 }
41
47 public HeadersException(string message, Exception innerException)
48 : base(message, innerException)
49 {
50 }
51 }
52}
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.
HeaderErrorTypes ParseErrors
The HeaderErrorTypess that are missing or malformed.
HeadersException(HeaderErrorTypes parseErrors, string message)
Initializes a new instance of the HeadersException class.
HeaderErrorTypes
Types of individual ApiHeaders errors.