git ssb

0+

Piet / ssb-loomio



Tree: b468243062cdd027e64bf5e0bd58f9221dcc121d

Files: b468243062cdd027e64bf5e0bd58f9221dcc121d / errors / sync / positionChoiceError.js

257 bytesRaw
1var { ERROR_POSITION_CHOICE } = require('../../types')
2var Error = require('./positionError')
3
4module.exports = function ({position}) {
5 return Error({type: ERROR_POSITION_CHOICE, position, message: 'Postion choice was not a valid choice for the poll'})
6}
7

Built with git-ssb-web