Table of Contents

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

status int
title string
detail string
code string
inner Exception
headers IReadOnlyDictionary<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

status HttpStatusCode
title string
detail string
code string
inner Exception
headers IReadOnlyDictionary<string, string>