feat: CI/CD pipeline setup complete - Ansible playbooks updated, secrets configured, workflow ready

This commit is contained in:
2025-10-31 01:39:24 +01:00
parent 55c04e4fd0
commit e26eb2aa12
601 changed files with 44184 additions and 32477 deletions

View File

@@ -0,0 +1,32 @@
<?php
declare(strict_types=1);
namespace App\Framework\ErrorHandling\Handlers;
/**
* Result returned by error handlers after processing an exception
*/
final readonly class HandlerResult
{
public function __construct(
public bool $handled,
public string $message,
public array $data = [],
public bool $isFinal = false,
public ?int $statusCode = null
) {}
/**
* Factory method for creating handler results
*/
public static function create(
bool $handled,
string $message,
array $data = [],
bool $isFinal = false,
?int $statusCode = null
): self {
return new self($handled, $message, $data, $isFinal, $statusCode);
}
}