about summary refs log tree commit diff stats
path: root/src/codes.cpp
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2018-08-30 19:28:02 -0400
committerKelly Rauchenberger <fefferburbia@gmail.com>2018-08-30 19:28:02 -0400
commite42d8636f3aa15e0ea8f723133914d6dba22009c (patch)
tree897699a71c06ed156f6463e7d67c8aaefed017ad /src/codes.cpp
parent62bb8a055fea0a1f3e25f757ca8201f54bae6012 (diff)
downloadlibtwittercpp-e42d8636f3aa15e0ea8f723133914d6dba22009c.tar.gz
libtwittercpp-e42d8636f3aa15e0ea8f723133914d6dba22009c.tar.bz2
libtwittercpp-e42d8636f3aa15e0ea8f723133914d6dba22009c.zip
Whitespace changes
Diffstat (limited to 'src/codes.cpp')
-rw-r--r--src/codes.cpp6
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
4namespace twitter { 4namespace 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