scotttrinh/shootproof-js-sdk

Check "stat" property for errors and failures

オープン

#2 opened on 2016/02/22

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)JavaScript (0 件のフォーク)github user discovery
help wanted

Repository metrics

Stars
 (1 個のスター)
PR merge metrics
 (30d に merged 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.

コントリビューターガイド