コード例 #1
0
 public ApiError(StatusCode statusCode)
 {
     this.StatusCode = statusCode;
 }
コード例 #2
0
 public ApiError(StatusCode statusCode, ModelStateDictionary modelState, string message, string detail)
     : this(statusCode, modelState, message)
 {
     this.Detail = detail;
 }
コード例 #3
0
 public ApiError(StatusCode statusCode, string message, string detail)
     : this(statusCode, message)
 {
     this.Detail = detail;
 }
コード例 #4
0
 public ApiError(StatusCode statusCode, ModelStateDictionary modelState, string message)
     : this(statusCode, message)
 {
     this.ValidationResult = new ValidationResultModel(modelState, message);
     this.Message          = message;
 }
コード例 #5
0
 public ApiError(StatusCode statusCode, string message)
     : this(statusCode)
 {
     this.Message = message;
 }