for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Spiral Framework.
*
* @license MIT
* @author Valentin V (Vvval)
*/
declare(strict_types=1);
namespace Cycle\ORM\Promise\Exception;
class ProxyFactoryException extends \Exception
{
* @param \Throwable $e
* @return ProxyFactoryException
public static function wrap(\Throwable $e): self
return new self($e->getMessage(), $e->getCode(), $e);
}