/**
 * All Contributors Writer Port
 *
 * Output port that owns the `.all-contributorsrc` JSON file at the workspace
 * root and the corresponding `<!-- ALL-CONTRIBUTORS-LIST:START -->` block in
 * `README.md`. The in-house implementation rewrites both files directly so
 * the contributor pipeline stays self-contained — no upstream
 * `@all-contributors` GitHub App, no `all-contributors-cli` runtime
 * dependency (resolved spec product-question 6).
 *
 * Implementations MUST be idempotent: reapplying the same
 * `(login, contributions)` triple is a no-op (NFR-11).
 */
/**
 * Base error for all-contributors writer failures.
 */
export class AllContributorsWriterError extends Error {
    constructor(message, cause) {
        super(message);
        this.name = 'AllContributorsWriterError';
        Object.setPrototypeOf(this, new.target.prototype);
        if (cause)
            this.cause = cause;
    }
}
