koel/app/Exceptions/FailedToActivateLicenseException.php

15 lines
263 B
PHP
Raw Normal View History

2024-01-05 16:42:50 +00:00
<?php
namespace App\Exceptions;
use Exception;
use Throwable;
class FailedToActivateLicenseException extends Exception
{
public static function fromException(Throwable $e): self
{
return new static($e->getMessage(), $e->getCode(), $e);
}
}