federationlib/src/FederationLib/Exceptions/Standard/PeerMetadataNotFoundException.php
2023-06-21 02:09:13 -04:00

19 lines
No EOL
493 B
PHP

<?php
//TODO: This is more of a internal error
namespace FederationLib\Exceptions\Standard;
use Exception;
use FederationLib\Enums\Standard\ErrorCodes;
use Throwable;
class PeerMetadataNotFoundException extends Exception
{
/**
* @param string $message
* @param Throwable|null $previous
*/
public function __construct(string $message = "", ?Throwable $previous = null)
{
parent::__construct($message, ErrorCodes::PEER_METADATA_NOT_FOUND, $previous);
}
}