Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | export default class ValidationError extends Error {
private _errors: Error[]
private _details: string
constructor({ humanReadableError, errors }) {
super(humanReadableError)
this._errors = errors
this._details = humanReadableError
this.name = 'GleeQuoreError'
}
get errors(): any[] {
return this._errors
}
get details(): string {
return this._details
}
}
|