git ssb

0+

Piet / ssb-loomio



Tree: b1794feaa06398b355861bf247975bf7501e5910

Files: b1794feaa06398b355861bf247975bf7501e5910 / errors / schema / positionTypeError.js

273 bytesRaw
1const errorSchema = require('./error')
2const cloneDeep = require('lodash.clonedeep')
3
4const schema = cloneDeep(errorSchema)
5
6// collapse the details down to be ONLY type error
7schema.properties.type = { $ref: '#/definitions/errorTypes/errorType' }
8
9module.exports = schema
10

Built with git-ssb-web