something like this ```js class ConstraintDirectiveError extends Error { /** @param {string[]} errors */ constructor (errors) { super("Validation errors") this.errors = errors } } ```