diff options
Diffstat (limited to 'src/codes.cpp')
-rw-r--r-- | src/codes.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/codes.cpp b/src/codes.cpp index 7805c7a..560194c 100644 --- a/src/codes.cpp +++ b/src/codes.cpp | |||
@@ -2,15 +2,15 @@ | |||
2 | #include <sstream> | 2 | #include <sstream> |
3 | 3 | ||
4 | namespace twitter { | 4 | namespace twitter { |
5 | 5 | ||
6 | const char* invalid_response::WHAT_TEXT = "Invalid response data received from Twitter"; | 6 | const char* invalid_response::WHAT_TEXT = "Invalid response data received from Twitter"; |
7 | const char* connection_error::WHAT_TEXT = "Error connecting to Twitter"; | 7 | const char* connection_error::WHAT_TEXT = "Error connecting to Twitter"; |
8 | 8 | ||
9 | std::string unknown_error::generateMessage(int response_code) | 9 | std::string unknown_error::generateMessage(int response_code) |
10 | { | 10 | { |
11 | std::ostringstream msgbuilder; | 11 | std::ostringstream msgbuilder; |
12 | msgbuilder << "Unknown error (HTTP " << response_code << ")"; | 12 | msgbuilder << "Unknown error (HTTP " << response_code << ")"; |
13 | 13 | ||
14 | return msgbuilder.str(); | 14 | return msgbuilder.str(); |
15 | } | 15 | } |
16 | 16 | ||