whoami7 - Manager
:
/
home
/
kckglobal
/
www
/
portal
/
vendor
/
veewee
/
xml
/
src
/
Xml
/
Encoding
/
Internal
/
Upload File:
files >> /home/kckglobal/www/portal/vendor/veewee/xml/src/Xml/Encoding/Internal/wrap_exception.php
<?php declare(strict_types=1); namespace VeeWee\Xml\Encoding\Internal; use Closure; use Exception; use VeeWee\Xml\Encoding\Exception\EncodingException; /** * @psalm-internal VeeWee\Xml\Encoding * * @template T * @param Closure(): T $run * @return T * * @throws EncodingException */ function wrap_exception(Closure $run) { try { return $run(); } catch (Exception $e) { throw EncodingException::wrapException($e); } }
Copyright ©2021 || Defacer Indonesia