mirror of
https://github.com/bitinflow/bunny-cli.git
synced 2026-03-13 13:45:54 +00:00
Improve lock file
This commit is contained in:
13
app/Bunny/Lock/Exceptions/LockException.php
Normal file
13
app/Bunny/Lock/Exceptions/LockException.php
Normal file
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
namespace App\Bunny\Lock\Exceptions;
|
||||
|
||||
use Exception;
|
||||
|
||||
class LockException extends Exception
|
||||
{
|
||||
public static function fromInvalidVersion($version): self
|
||||
{
|
||||
return new self(sprintf('Your lock file version %s is not supported.', $version));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user