Documentation, format class, no modification. (#7628)

This commit is contained in:
frytimo
2025-11-18 21:49:39 -04:00
committed by GitHub
parent adfc4cc469
commit bbe7b9e9b7
37 changed files with 5051 additions and 4144 deletions

View File

@@ -33,6 +33,17 @@
*/
class subscriber_exception extends \Exception {
public $subscriber_id;
/**
* Initializes a new instance of the class.
*
* @param mixed $subscriber_id The subscriber's ID.
* @param string $message [optional] The exception message. Defaults to an empty string.
* @param int $code [optional] The user-defined errorCode integer. Defaults to 0.
* @param Throwable|null $previous [optional] The previous throwable that caused this one, or null if none. Defaults to null.
*
* @return void
*/
public function __construct($subscriber_id, string $message = "", int $code = 0, ?\Throwable $previous = null) {
parent::__construct($message, $code, $previous);
$this->subscriber_id = $subscriber_id;