diff --git a/src/error.ts b/src/error.ts index 7e5c545..8d14816 100644 --- a/src/error.ts +++ b/src/error.ts @@ -8,7 +8,7 @@ export class RecorderError extends Error { export class RecorderValidationError extends RecorderError { constructor (message: string, public errors: string[] = []) { - super(`${message}: ${errors.join(" ")}`); + super(`${message}: ${errors.join('; ')}`); Object.setPrototypeOf(this, RecorderValidationError.prototype); } }