Initial commit: CloudOps infrastructure platform

This commit is contained in:
root
2026-04-09 19:58:57 +02:00
commit 1166a52f26
7762 changed files with 839452 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
<?php
declare(strict_types=1);
namespace Mautic\FormBundle\Exception;
class FieldNotFoundException extends \Exception
{
}

View File

@@ -0,0 +1,7 @@
<?php
namespace Mautic\FormBundle\Exception;
class FileValidationException extends \Exception
{
}

View File

@@ -0,0 +1,7 @@
<?php
namespace Mautic\FormBundle\Exception;
class NoFileGivenException extends \Exception
{
}

View File

@@ -0,0 +1,34 @@
<?php
namespace Mautic\FormBundle\Exception;
class ValidationException extends \Exception
{
/**
* @var mixed[]
*/
private array $violations = [];
public function __construct($message = 'Validation failed', $code = 0, ?\Exception $previous = null)
{
parent::__construct($message, $code, $previous);
}
/**
* @return mixed[]
*/
public function getViolations(): array
{
return $this->violations;
}
/**
* @param mixed[] $violations
*/
public function setViolations(array $violations): self
{
$this->violations = $violations;
return $this;
}
}