OperationFailedErrorDto
Namespace: Meshmakers.Octo.Communication.Contracts.DataTransferObjects.ApiErrors
Represents an internal server error data transfer object
public class OperationFailedErrorDto : ApiErrorDto
Inheritance Object → ApiErrorDto → OperationFailedErrorDto
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
OperationFailedErrorDto()
Constructor
public OperationFailedErrorDto()
OperationFailedErrorDto(String)
Constructor
public OperationFailedErrorDto(string message)
Parameters
message
String
A message that describes the error
OperationFailedErrorDto(String, IEnumerable<FailedDetailsDto>)
Constructor
public OperationFailedErrorDto(string message, IEnumerable<FailedDetailsDto> failedDetails)
Parameters
message
String
A message that describes the error
failedDetails
IEnumerable<FailedDetailsDto>
A list of that describes the error