/var/www/vhosts/ihelp.ro/httpdocs/vendor/psy/psysh/src/Exception
NameSizeModeActions
BreakException.php10940644editdlrm
DeprecatedException.php3820644editdlrm
ErrorException.php30840644editdlrm
Exception.php4970644editdlrm
FatalErrorException.php14930644editdlrm
ParseErrorException.php9490644editdlrm
RuntimeException.php9680644editdlrm
ThrowUpException.php14270644editdlrm
TypeErrorException.php14310644editdlrm
UnexpectedTargetException.php8620644editdlrm
Edit: /var/www/vhosts/ihelp.ro/httpdocs/vendor/psy/psysh/src/Exception/ThrowUpException.php (1427B)
getMessage()); parent::__construct($message, $throwable->getCode(), $throwable); } /** * Return a raw (unformatted) version of the error message. */ public function getRawMessage(): string { return $this->getPrevious()->getMessage(); } /** * Create a ThrowUpException from a Throwable. * * @deprecated PsySH no longer wraps Throwables * * @param \Throwable $throwable */ public static function fromThrowable($throwable): self { if ($throwable instanceof \Error) { $throwable = ErrorException::fromError($throwable); } if (!$throwable instanceof \Exception) { throw new \InvalidArgumentException('throw-up can only throw Exceptions and Errors'); } return new self($throwable); } }