microserviciile de register, login finalizate
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
namespace app\exceptions;
|
||||
use app\core\DVC;
|
||||
use Exception;
|
||||
|
||||
class GenericErrorException extends Exception
|
||||
{
|
||||
public function __construct()
|
||||
{
|
||||
$array = DVC::getArrayResponse(DVC::$genericExceptionName);
|
||||
parent::__construct($array[DVC::$returnMessage], $array[DVC::$returnCode]);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user