ParameterForInjectionException constructor
Exception thrown when there is an error resolving a parameter for injection. The StatusCode property indicates the HTTP status code that should be returned to the client.
public ParameterForInjectionException(string message, int statusCode)
| parameter | description |
|---|---|
| message | The error message describing the issue. |
| statusCode | The HTTP status code to return. |
See Also
- class ParameterForInjectionException
- namespace Kestrun.KrException