Table of Contents

UnauthorizedException Constructor

Definition

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

UnauthorizedException()

Initializes a new instance of the UnauthorizedException class.

public UnauthorizedException()

UnauthorizedException(Exception)

Initializes a new instance of the UnauthorizedException class.

public UnauthorizedException(Exception innerException)

Parameters

innerException Exception

The exception that is the cause of the current exception.

UnauthorizedException(string, Exception)

Initializes a new instance of the UnauthorizedException class.

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