tgstation-server
6.12.3
The /tg/station 13 server suite
Loading...
Searching...
No Matches
src
Tgstation.Server.Api
HeadersException.cs
Go to the documentation of this file.
1
using
System;
2
3
namespace
Tgstation.Server.Api
4
{
8
public
sealed
class
HeadersException
:
Exception
9
{
13
public
HeaderErrorTypes
ParseErrors
{
get
; }
14
20
public
HeadersException
(
HeaderErrorTypes
parseErrors,
string
message)
21
: base(message)
22
{
23
ParseErrors
= parseErrors;
24
}
25
29
public
HeadersException
()
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
}
Exception
Tgstation.Server.Api.HeadersException
Thrown when trying to generate ApiHeaders from Microsoft.AspNetCore.Http.Headers.RequestHeaders fails...
Definition
HeadersException.cs:9
Tgstation.Server.Api.HeadersException.HeadersException
HeadersException(string message)
Initializes a new instance of the HeadersException class.
Definition
HeadersException.cs:37
Tgstation.Server.Api.HeadersException.HeadersException
HeadersException()
Initializes a new instance of the HeadersException class.
Definition
HeadersException.cs:29
Tgstation.Server.Api.HeadersException.HeadersException
HeadersException(string message, Exception innerException)
Initializes a new instance of the HeadersException class.
Definition
HeadersException.cs:47
Tgstation.Server.Api.HeadersException.ParseErrors
HeaderErrorTypes ParseErrors
The HeaderErrorTypess that are missing or malformed.
Definition
HeadersException.cs:13
Tgstation.Server.Api.HeadersException.HeadersException
HeadersException(HeaderErrorTypes parseErrors, string message)
Initializes a new instance of the HeadersException class.
Definition
HeadersException.cs:20
Tgstation.Server.Api
Definition
ApiHeaders.cs:20
Tgstation.Server.Api.HeaderErrorTypes
HeaderErrorTypes
Types of individual ApiHeaders errors.
Definition
HeaderErrorTypes.cs:10
Generated by
1.9.8