Implemented peer syncing (sort-of)

This commit is contained in:
Netkas 2023-06-23 02:05:48 -04:00
parent 2e1a7a612c
commit c93568b8f1
No known key found for this signature in database
GPG key ID: 5DAF58535614062B
10 changed files with 365 additions and 67 deletions

View file

@ -0,0 +1,19 @@
<?php
namespace FederationLib\Exceptions\Standard;
use Exception;
use FederationLib\Enums\Standard\ErrorCodes;
use Throwable;
class BadRequestException extends Exception
{
/**
* @param string $message
* @param Throwable|null $previous
*/
public function __construct(string $message = "", ?Throwable $previous = null)
{
parent::__construct($message, ErrorCodes::BAD_REQUEST, $previous);
}
}