Skip to main content

ForbiddenErrorDto

Namespace: Meshmakers.Octo.Communication.Contracts.DataTransferObjects.ApiErrors

Error body of a request the caller is not allowed to make (HTTP 403), e.g. a refused scratch tenant.

public class ForbiddenErrorDto : ApiErrorDto

Inheritance Object → ApiErrorDto → ForbiddenErrorDto

Properties​

StatusCode​

The Http status code

public int StatusCode { get; }

Property Value​

Int32

StatusDescription​

String representation of the status code

public string StatusDescription { get; }

Property Value​

String

Message​

A message that explains what actually happened

public string Message { get; }

Property Value​

String

Details​

A message that explains what actually happened

public IEnumerable<FailedDetailsDto> Details { get; }

Property Value​

IEnumerable<FailedDetailsDto>

Constructors​

ForbiddenErrorDto(String)​

Constructor

public ForbiddenErrorDto(string message)

Parameters​

message String
A message that describes why the request is refused