Moved StandardException to it's own namespace

This commit is contained in:
netkas 2025-01-30 00:27:06 -05:00
parent b8ef387bb2
commit efc9905200
37 changed files with 39 additions and 41 deletions

View file

@ -6,7 +6,7 @@
use Socialbox\Abstracts\Method;
use Socialbox\Enums\StandardError;
use Socialbox\Exceptions\DatabaseOperationException;
use Socialbox\Exceptions\StandardException;
use Socialbox\Exceptions\Standard\StandardException;
use Socialbox\Interfaces\SerializableInterface;
use Socialbox\Managers\ContactManager;
use Socialbox\Objects\ClientRequest;
@ -22,7 +22,7 @@
{
if(!$rpcRequest->containsParameter('peer'))
{
return $rpcRequest->produceError(StandardError::RPC_INVALID_ARGUMENTS, 'Missing required \'peer\' parameter');
return $rpcRequest->produceError(StandardError::RPC_INVALID_ARGUMENTS, 'Missing required peer parameter');
}
try