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
StatusDescription
String representation of the status code
public string StatusDescription { get; }
Property Value
Message
A message that explains what actually happened
public string Message { get; }
Property Value
Details
A message that explains what actually happened
public IEnumerable<FailedDetailsDto> Details { get; }
Property Value
Constructors
ForbiddenErrorDto(String)
Constructor
public ForbiddenErrorDto(string message)
Parameters
message String
A message that describes why the request is refused