Files: 9bf2bbbd3ecdc8c850b63aad19ada17d6bf593c7 / errors / sync / positionTypeError.js
250 bytesRaw
1 | var { ERROR_POSITION_TYPE } = require('../../types') |
2 | var Error = require('./positionError') |
3 | |
4 | module.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