2017-09-13 07:52:34 +02:00

11 lines
186 B
JavaScript
Vendored

'use strict'
function ValidationError (errors) {
this.name = 'ValidationError'
this.errors = errors
}
ValidationError.prototype = Error.prototype
module.exports = ValidationError