Constructor ProblemHttpException
- Namespace
- BpNexT.Actions.Abstractions
- Assembly
- BpNexT.Actions.Abstractions.dll
ProblemHttpException(int, string, string?, string?, Exception?, IReadOnlyDictionary<string, string>?)
Creates a problem response with a numeric status code.
public ProblemHttpException(int status, string title, string? detail = null, string? code = null, Exception? inner = null, IReadOnlyDictionary<string, string>? headers = null)
Parameters
statusinttitlestringdetailstringcodestringinnerExceptionheadersIReadOnlyDictionary<string, string>
ProblemHttpException(HttpStatusCode, string, string?, string?, Exception?, IReadOnlyDictionary<string, string>?)
Creates a problem response from an HttpStatusCode.
public ProblemHttpException(HttpStatusCode status, string title, string? detail = null, string? code = null, Exception? inner = null, IReadOnlyDictionary<string, string>? headers = null)
Parameters
statusHttpStatusCodetitlestringdetailstringcodestringinnerExceptionheadersIReadOnlyDictionary<string, string>