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.

貢獻者指南