UNPKG

dvf-client-js

Version:

<img src="https://avatars1.githubusercontent.com/u/56512535?s=200&v=4" align="right" />

8 lines (6 loc) 160 B
const DVFError = require('../dvf/DVFError') module.exports = (dvf, tradingKey) => { if (!tradingKey) { throw new DVFError('ERR_STARK_KEY_MISSING') } }