scotttrinh/shootproof-js-sdk

Check "stat" property for errors and failures

开放

#2 创建于 2016年2月22日

 (0 条评论) (0 个反应) (0 位负责人)JavaScript (0 个派生)github user discovery
help wanted

仓库指标

星标
 (1 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

Looks like the server returns a 200 even on errors, but passes back an error object. Let's add response parsing to check for a successful status and reject on errors. Need some feedback about the possible responses, or at least the possible stat values.

贡献者指南