Improve lock file

This commit is contained in:
René Preuß
2021-07-22 17:28:09 +02:00
parent 820287dd2c
commit 4b9e117f1a
8 changed files with 105 additions and 18 deletions

View 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));
}
}