Add beginning of a project management system to placeholders

This commit is contained in:
Alex Cabal 2024-12-14 19:03:04 -06:00
parent e56de4b19d
commit adfe07aad9
42 changed files with 717 additions and 118 deletions

View file

@ -37,10 +37,10 @@ class GitCommit{
// *******
/**
* @throws Exceptions\ValidationException
* @throws Exceptions\InvalidGitCommitException
*/
public function Validate(): void{
$error = new Exceptions\ValidationException();
$error = new Exceptions\InvalidGitCommitException();
if(!isset($this->EbookId)){
$error->Add(new Exceptions\GitCommitEbookIdRequiredException());
@ -83,7 +83,7 @@ class GitCommit{
}
/**
* @throws Exceptions\ValidationException
* @throws Exceptions\InvalidGitCommitException
*/
public function Create(): void{
$this->Validate();