tikal-tech-radar-generator
Version:
A library that generates an interactive radar, inspired by http://thoughtworks.com/radar/
12 lines (9 loc) • 385 B
JavaScript
const MalformedDataError = function (message) {
this.message = message
}
Object.setPrototypeOf(MalformedDataError, Error)
MalformedDataError.prototype = Object.create(Error.prototype)
MalformedDataError.prototype.name = 'MalformedDataError'
MalformedDataError.prototype.message = ''
MalformedDataError.prototype.constructor = MalformedDataError
module.exports = MalformedDataError