mirror of
https://github.com/thewesker/bug-em.git
synced 2025-12-21 12:31:05 -05:00
11 lines
186 B
JavaScript
11 lines
186 B
JavaScript
'use strict'
|
|
|
|
function ValidationError (errors) {
|
|
this.name = 'ValidationError'
|
|
this.errors = errors
|
|
}
|
|
|
|
ValidationError.prototype = Error.prototype
|
|
|
|
module.exports = ValidationError
|