Retweeting a protected tweet lacks an error code


#1

Most API responses have an error code in them. Attempting to retweet a protected tweet doesn’t. Please add one.

Sample response:

statusCode: 403,
content: '{"errors":"sharing is not permissible for this status (Share validations failed)"}',
headers:
 { 'cache-control': 'no-cache, no-store, must-revalidate, pre-check=0, post-check=0',
   'content-length': '82',
   'content-type': 'application/json;charset=utf-8',
   date: 'Mon, 12 May 2014 15:43:24 GMT',
   expires: 'Tue, 31 Mar 1981 05:00:00 GMT',
   'last-modified': 'Mon, 12 May 2014 15:43:24 GMT',
   pragma: 'no-cache',
   server: 'tfe',
   'set-cookie': [Object],
   status: '403 Forbidden',
   'strict-transport-security': 'max-age=631138519',
   'x-access-level': 'read-write',
   'x-content-type-options': 'nosniff',
   'x-frame-options': 'SAMEORIGIN',
   'x-tfe-logging-request-category': 'API',
   'x-transaction': '25a55440bbe600af',
   'x-xss-protection': '1; mode=block' },