A documentation section has been added to the admin panel.

This commit is contained in:
2024-05-17 21:05:13 +05:00
parent 156d8a9f68
commit 45504791c0
93 changed files with 3495 additions and 10 deletions

View File

@@ -0,0 +1,19 @@
<?php declare(strict_types=1);
namespace App\Exceptions\Services;
use App\Contracts\ServiceResultError as ServiceResultErrorContract;
final class ServiceException extends \Exception
{
public function __construct(
private readonly ServiceResultErrorContract $serviceResultError
) {
parent::__construct($this->serviceResultError->getMessage());
}
public function getServiceResultError(): ServiceResultErrorContract
{
return $this->serviceResultError;
}
}