git ssb

0+

Piet / ssb-loomio



Tree: 54da6278f7b2e4b69c93d48ac2318edec1ca00f7

Files: 54da6278f7b2e4b69c93d48ac2318edec1ca00f7 / errors / sync / positionTypeError.js

250 bytesRaw
1var { ERROR_POSITION_TYPE } = require('../../types')
2var Error = require('./positionError')
3
4module.exports = function ({position}) {
5 return Error({type: ERROR_POSITION_TYPE, position, message: 'Postion stated was the wrong type for this poll'})
6}
7

Built with git-ssb-web