20 lines
411 B
PHP
20 lines
411 B
PHP
<?php
|
|
|
|
namespace App\Services\Sms;
|
|
|
|
use RuntimeException;
|
|
|
|
class SmsProviderException extends RuntimeException
|
|
{
|
|
/**
|
|
* @param array<string, mixed>|null $responsePayload
|
|
*/
|
|
public function __construct(
|
|
string $message,
|
|
public readonly ?array $responsePayload = null,
|
|
public readonly bool $outcomeUnknown = false,
|
|
) {
|
|
parent::__construct($message);
|
|
}
|
|
}
|