reddit/reddit — pull request #318 by buddydvd (2012-01-12 22:49:15+00:00)
Title: Modify /api/submit to return QUOTA_FILLED error when api_type=json.

Currently, when `api_type=json`, there's no way to tell whether `/api/submit` succeeded or failed due to reaching the Link quota limit. This pull request introduces a new error name, QUOTA_FILLED, that lets the caller know the exact reason.