Initial Commit
This commit is contained in:
parent
93a0b9be02
commit
6e599b2c0c
99 changed files with 10836 additions and 4 deletions
|
@ -0,0 +1,20 @@
|
|||
<?php
|
||||
|
||||
namespace FederationLib\Exceptions\Standard;
|
||||
|
||||
use Exception;
|
||||
use Throwable;
|
||||
|
||||
class PeerNotFoundException extends Exception
|
||||
{
|
||||
/**
|
||||
* PeerNotFoundException constructor.
|
||||
*
|
||||
* @param string $peer
|
||||
* @param Throwable|null $previous
|
||||
*/
|
||||
public function __construct(string $peer, ?Throwable $previous = null)
|
||||
{
|
||||
parent::__construct("The peer '{$peer}' was not found", 0, $previous);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue