Priority File Manager

📁 public_html
Base Directory:
/home/ecedu/public_html/wp-includes/Requests/src/Exception
NameTypeSizeActions
📁 .. Folder -
📄 ArgumentCount.php File 1460
Edit Download
📁 Http Folder -
📄 Http.php File 1542
Edit Download
📄 InvalidArgument.php File 1106
Edit Download
📁 Transport Folder -
📄 Transport.php File 244
Edit Download
reason = $reason; } $message = sprintf('%d %s', $this->code, $this->reason); parent::__construct($message, 'httpresponse', $data, $this->code); } /** * Get the status message. * * @return string */ public function getReason() { return $this->reason; } /** * Get the correct exception class for a given error code * * @param int|bool $code HTTP status code, or false if unavailable * @return string Exception class name to use */ public static function get_class($code) { if (!$code) { return StatusUnknown::class; } $class = sprintf('\WpOrg\Requests\Exception\Http\Status%d', $code); if (class_exists($class)) { return $class; } return StatusUnknown::class; } }