kubernetes-handbook/node_modules/har-validator/lib/error.js

11 lines
186 B
JavaScript

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