Cassini.Connection.GetErrorResponseBody C# (CSharp) 메소드

GetErrorResponseBody() 개인적인 메소드

private GetErrorResponseBody ( int statusCode, string message ) : string
statusCode int
message string
리턴 string
        string GetErrorResponseBody(int statusCode, string message)
        {
            string body = Messages.FormatErrorMessageBody(statusCode, _server.VirtualPath);
            if (message != null && message.Length > 0) {
                body += "\r\n<!--\r\n" + message + "\r\n-->";
            }
            return body;
        }