芝麻web文件管理V1.00
编辑当前文件:/home/sditechnicalteam/public_html/vendor/psy/psysh/src/Exception/TypeErrorException.php
rawMessage = $message; $message = \preg_replace('/, called in .*?: eval\\(\\)\'d code/', '', $message); parent::__construct(\sprintf('TypeError: %s', $message), $code); } /** * Get the raw (unformatted) message for this error. * * @return string */ public function getRawMessage(): string { return $this->rawMessage; } /** * Create a TypeErrorException from a TypeError. * * @param \TypeError $e * * @return self */ public static function fromTypeError(\TypeError $e): self { return new self($e->getMessage(), $e->getCode()); } }