Table of Contents

BadRequestException Constructor

Definition

Namespace
Cuemon.AspNetCore.Http
Assemblies
Cuemon.AspNetCore.dll
Source
src/Cuemon.AspNetCore/Http/BadRequestException.cs

BadRequestException()

Initializes a new instance of the BadRequestException class.

public BadRequestException()

BadRequestException(Exception)

Initializes a new instance of the BadRequestException class.

public BadRequestException(Exception innerException)

Parameters

innerException Exception

The exception that is the cause of the current exception.

BadRequestException(string, Exception)

Initializes a new instance of the BadRequestException class.

public BadRequestException(string message, Exception innerException = null)

Parameters

message string

The message that describes the HTTP status code.

innerException Exception

The exception that is the cause of the current exception.