2026-04-13 06:12:04 +00:00
|
|
|
<?php
|
2026-05-24 17:07:51 -05:00
|
|
|
|
2026-04-13 06:12:04 +00:00
|
|
|
/**
|
|
|
|
|
* 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
|
2026-05-31 12:14:34 -05:00
|
|
|
* DEFGROUP: MokoPlatform.Enterprise
|
|
|
|
|
* INGROUP: MokoPlatform
|
2026-05-11 17:01:17 -05:00
|
|
|
* REPO: https://git.mokoconsulting.tech/MokoConsulting/moko-platform
|
2026-04-15 02:35:30 +00:00
|
|
|
* PATH: /lib/Enterprise/SynchronizationException.php
|
2026-04-13 06:12:04 +00: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
|
2026-05-24 17:07:51 -05:00
|
|
|
*
|
2026-04-13 06:12:04 +00:00
|
|
|
* @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."
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
}
|