From 442f1ee071152be04c4184473ddfee5040795b76 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Wed, 1 Jun 2016 20:34:33 -0400 Subject: Wrapped JSON parsing in exception handling --- src/codes.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/codes.h') diff --git a/src/codes.h b/src/codes.h index 334f0ce..6767805 100644 --- a/src/codes.h +++ b/src/codes.h @@ -21,7 +21,8 @@ namespace twitter { write_restricted, bad_length, unknown_error, - invalid_media + invalid_media, + invalid_response }; }; -- cgit 1.4.1