Files
fotospiel-app/app/Services/LemonSqueezy/Exceptions/LemonSqueezyException.php
Codex Agent 10c99de1e2
Some checks failed
linter / quality (push) Has been cancelled
tests / ci (push) Has been cancelled
tests / ui (push) Has been cancelled
Migrate billing from Paddle to Lemon Squeezy
2026-02-03 10:59:54 +01:00

24 lines
485 B
PHP

<?php
namespace App\Services\LemonSqueezy\Exceptions;
use RuntimeException;
class LemonSqueezyException extends RuntimeException
{
public function __construct(string $message, private readonly ?int $status = null, private readonly array $context = [])
{
parent::__construct($message, $status ?? 0);
}
public function status(): ?int
{
return $this->status;
}
public function context(): array
{
return $this->context;
}
}