Implemented peer syncing (sort-of)
This commit is contained in:
parent
2e1a7a612c
commit
c93568b8f1
10 changed files with 365 additions and 67 deletions
|
@ -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);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue