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 socket_exception extends \Exception {
public $id;
/**
* Initializes a new instance of the object.
*
* @param mixed $id Unique identifier for this exception (default: null)
* @param string $message Exception message (default: "")
* @param int $code Exception code (default: 0)
* @param \Throwable|null $previous The previous exception (default: null)
*
* @return void
*/
public function __construct($id = null, string $message = "", int $code = 0, ?\Throwable $previous = null) {
$this->id = $id;
return parent::__construct($message, $code, $previous);