Files
MokoCLI/lib/Enterprise/SynchronizationException.php
T
Jonathan Miller 0f7eac971f feat: add templates, cli, docs, and Gitea-first platform updates
- Add cli/, build/, release/ directories (previously in MokoStandards/api/)
- Add templates/ with workflow templates, configs, github/gitea issue templates
- Add docs/api/, docs/workflows/, docs/automation/ documentation
- Update all REPO headers to MokoStandards-API
- Update all api/definitions/ paths to definitions/ (no api/ prefix)
- Set default platform to gitea, token to GA_TOKEN
- Add syncUpdatesBetweenPlatforms() to PlatformAdapterFactory
- Update RepositorySynchronizer for new template paths
- Convert workflow template DEFGROUP to Gitea.Workflow
- Update README with full repo description and platform config

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-14 21:11:20 -05:00

43 lines
1.1 KiB
PHP

<?php
/**
* Copyright (C) 2026 Moko Consulting <hello@mokoconsulting.tech>
*
* This file is part of a Moko Consulting project.
*
* SPDX-License-Identifier: GPL-3.0-or-later
*
* FILE INFORMATION
* DEFGROUP: MokoStandards.Enterprise
* INGROUP: MokoStandards
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
* PATH: /lib/Enterprise/SynchronizationException.php
* VERSION: 04.06.00
* BRIEF: Custom exception for repository synchronization errors
*/
declare(strict_types=1);
namespace MokoEnterprise;
use RuntimeException;
/**
* Exception thrown when repository synchronization fails or is not implemented
*/
class SynchronizationNotImplementedException extends RuntimeException
{
/**
* Create exception for unimplemented synchronization logic
*
* @return self
*/
public static function create(): self
{
return new self(
"Repository synchronization logic is not implemented. " .
"The processRepository() method contains only placeholder code. " .
"Actual file synchronization, PR creation, and merge handling must be implemented."
);
}
}