If I make a request using an expired token, such as a call to Forecast.prototype.people, it gets back { reason: 'expired-token', account_id: '246010' }, and then sends a callback of callback(null, undefined).
Is there some way I could ask forecast-api for the reason value?
If I make a request using an expired token, such as a call to
Forecast.prototype.people
, it gets back{ reason: 'expired-token', account_id: '246010' }
, and then sends a callback ofcallback(null, undefined)
.Is there some way I could ask forecast-api for the
reason
value?