UNPKG

dvf-client-js

Version:

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

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