⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.74
Server IP:
104.21.112.1
Server:
Linux vmi2315822.contaboserver.net 5.15.0-134-generic #145-Ubuntu SMP Wed Feb 12 20:08:39 UTC 2025 x86_64
Server Software:
LiteSpeed
PHP Version:
8.3.21
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
php
/
React
/
Promise
/
View File Name :
UnhandledRejectionException.php
<?php namespace React\Promise; class UnhandledRejectionException extends \RuntimeException { private $reason; public static function resolve($reason) { if ($reason instanceof \Exception || $reason instanceof \Throwable) { return $reason; } return new static($reason); } public function __construct($reason) { $this->reason = $reason; $message = sprintf('Unhandled Rejection: %s', json_encode($reason)); parent::__construct($message, 0); } public function getReason() { return $this->reason; } }