uawdijnntqw1x1x1
IP : 3.16.15.52
Hostname : axolotl
Kernel : Linux axolotl 4.9.0-13-amd64 #1 SMP Debian 4.9.228-1 (2020-07-05) x86_64
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
OS : Linux
PATH:
/
var
/
www
/
axolotl
/
data
/
www
/
yar.axolotls.ru
/
bitrix
/
modules
/
main
/
lib
/
..
/
lib
/
error.php
/
/
<?php /** * Bitrix Framework * @package bitrix * @subpackage main * @copyright 2001-2015 Bitrix */ namespace Bitrix\Main; class Error implements \JsonSerializable { /** @var int|string */ protected $code; /** @var string */ protected $message; /** * @var null */ protected $customData; /** * Creates a new Error. * * @param string $message Message of the error. * @param int|string $code Code of the error. * @param mixed|null $customData Data typically of key/value pairs that provide additional * user-defined information about the error. */ public function __construct($message, $code = 0, $customData = null) { $this->message = $message; $this->code = $code; $this->customData = $customData; } /** * Returns the code of the error. * @return int|string */ public function getCode() { return $this->code; } /** * Returns the message of the error. * @return string */ public function getMessage() { return $this->message; } /** * @return mixed|null */ public function getCustomData() { return $this->customData; } public function __toString() { return $this->getMessage(); } /** * Specify data which should be serialized to JSON * @link http://php.net/manual/en/jsonserializable.jsonserialize.php * @return mixed data which can be serialized by <b>json_encode</b>, * which is a value of any type other than a resource. * @since 5.4.0 */ public function jsonSerialize() { return [ 'message' => $this->getMessage(), 'code' => $this->getCode(), 'customData' => $this->getCustomData(), ]; } }
/var/www/axolotl/data/www/yar.axolotls.ru/bitrix/modules/main/lib/../lib/error.php