Exemple #1
0
 public static IApplicationMessage SystemError(string description)
 => ApplicationMessage.Error("System Result:@SystemResult; Protocol Result:@ProtocolResult; @ErrorResponse",
                             new HttpStatusDescription(
                                 new HttpReplyStatus(
                                     HttpResultCodes.InternalServerError,
                                     SystemResultCodes.Failure), description
                                 ));
Exemple #2
0
 public static IApplicationMessage ErrorStatus(HttpReplyStatus Status, string ErrorResponse)
 => ApplicationMessage.Error("System Result:@SystemResult; Protocol Result:@ProtocolResult; @ErrorResponse",
                             new HttpStatusDescription(Status, ErrorResponse));