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