Remove two error codes

This commit is contained in:
Chunting Gu
2019-04-16 16:59:58 +08:00
parent e63dc748ab
commit 5553a70603
4 changed files with 7 additions and 16 deletions
+1 -8
View File
@@ -164,7 +164,7 @@ const std::string& UserAgent();
enum Error {
kNoError = 0, // i.e., OK
kSchemaError,
kSchemaError, // TODO
kHostResolveError,
kEndpointConnectError,
@@ -176,15 +176,8 @@ enum Error {
// E.g., failed to parse HTTP response (invalid content length, etc.).
kHttpError,
// Server error.
// E.g., HTTP status 500 + SOAP Fault element.
kServerError,
// File read/write error.
kFileIOError,
// XML parsing error.
kXmlError,
};
// Return a descriptive message for the given error code.