@baseplate-dev/sync
Version:
Library for syncing Baseplate descriptions
12 lines • 464 B
JavaScript
export class WriteGeneratorFilesError extends Error {
errors;
constructor(errors) {
super(`Error writing generator files (showing first 10): ${errors
.slice(0, 10)
.map(({ relativePath, error }) => `${relativePath}: ${error instanceof Error ? error.message : String(error)}`)
.join('\n')}`);
this.errors = errors;
this.name = 'WriteGeneratorFilesError';
}
}
//# sourceMappingURL=errors.js.map