Public Access
Initial: MokoStandards Enterprise API extracted from MokoStandards
Standalone Composer package (mokoconsulting-tech/enterprise). Source: api/, bin/, lib/ directories from MokoStandards main repo. Autoload paths updated for standalone layout.
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
<?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://github.com/mokoconsulting-tech/MokoStandards
|
||||
* PATH: /api/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."
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user