Class ApiKeyException
- Namespace
- Cuemon.AspNetCore.Http.Headers
- Assembly
- Cuemon.AspNetCore.dll
The exception that is thrown when the requirements of an API key header is not meet.
public class ApiKeyException : HttpStatusCodeException, ISerializable
- Inheritance
-
ApiKeyException
- Implements
- Inherited Members
Constructors
ApiKeyException(int, string)
Initializes a new instance of the ApiKeyException class.
public ApiKeyException(int statusCode, string message)
Parameters
statusCodeintThe HTTP status code to associate with this exception.
messagestringThe message that describes the HTTP status code.