tgstation-server 6.12.0
The /tg/station 13 server suite
|
Thrown when trying to generate ApiHeaders from Microsoft.AspNetCore.Http.Headers.RequestHeaders fails. More...
Public Member Functions | |
HeadersException (HeaderErrorTypes parseErrors, string message) | |
Initializes a new instance of the HeadersException class. | |
HeadersException () | |
Initializes a new instance of the HeadersException class. | |
HeadersException (string message) | |
Initializes a new instance of the HeadersException class. | |
HeadersException (string message, Exception innerException) | |
Initializes a new instance of the HeadersException class. | |
Properties | |
HeaderErrorTypes | ParseErrors [get] |
The HeaderErrorTypess that are missing or malformed. | |
Thrown when trying to generate ApiHeaders from Microsoft.AspNetCore.Http.Headers.RequestHeaders fails.
Definition at line 8 of file HeadersException.cs.
Tgstation.Server.Api.HeadersException.HeadersException | ( | HeaderErrorTypes | parseErrors, |
string | message | ||
) |
Initializes a new instance of the HeadersException class.
parseErrors | The value of ParseErrors. |
message | The error message. |
Definition at line 20 of file HeadersException.cs.
References Tgstation.Server.Api.HeadersException.ParseErrors.
Tgstation.Server.Api.HeadersException.HeadersException | ( | ) |
Initializes a new instance of the HeadersException class.
Definition at line 29 of file HeadersException.cs.
Tgstation.Server.Api.HeadersException.HeadersException | ( | string | message | ) |
Initializes a new instance of the HeadersException class.
message | The error message. |
Definition at line 37 of file HeadersException.cs.
Tgstation.Server.Api.HeadersException.HeadersException | ( | string | message, |
Exception | innerException | ||
) |
Initializes a new instance of the HeadersException class.
Definition at line 47 of file HeadersException.cs.
|
get |
The HeaderErrorTypess that are missing or malformed.
Definition at line 13 of file HeadersException.cs.
Referenced by Tgstation.Server.Api.HeadersException.HeadersException(), and Tgstation.Server.Host.Controllers.ApiController.HeadersIssue().