Table of Contents

ForbiddenException Constructor

Definition

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

ForbiddenException()

Initializes a new instance of the ForbiddenException class.

public ForbiddenException()

ForbiddenException(Exception)

Initializes a new instance of the ForbiddenException class.

public ForbiddenException(Exception innerException)

Parameters

innerException Exception

The exception that is the cause of the current exception.

ForbiddenException(string, Exception)

Initializes a new instance of the ForbiddenException class.

public ForbiddenException(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.