remove compose file to another repo

This commit is contained in:
2025-05-05 15:30:11 +03:30
parent 02ef3ae2ad
commit 3b739558ee
179 changed files with 130 additions and 341 deletions

View File

@@ -0,0 +1,37 @@
<?php
namespace App\Services\Notification\Exceptions;
use App\Exceptions\Throwable;
use Exception;
use Illuminate\Http\JsonResponse;
class NotificationServerNotRespondingException extends Exception
{
public $message;
public function __construct(string $message = "", int $code = 500, ?Throwable $previous = null)
{
$this->message = $message;
parent::__construct($message, $code, $previous);
}
/**
* Report the exception.
*/
public function report(): void
{
// ...
}
/**
* Render the exception into an HTTP response.
*/
public function render(): JsonResponse
{
return response()->json([
'message' => $this->message
], $this->code);
}
}