Skip to main content

InternalServerErrorDto

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

Represents an internal server error data transfer object

public class InternalServerErrorDto : ApiErrorDto

Inheritance Object → ApiErrorDto → InternalServerErrorDto

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​

InternalServerErrorDto()​

Constructor

public InternalServerErrorDto()

InternalServerErrorDto(String)​

Constructor

public InternalServerErrorDto(string message)

Parameters​

message String
A message that describes the error