public static function fatalElseAccess(string $userGroup, string $error)
  {
    if (isset($_SESSION[$userGroup])) {
      exit($error);
    }
  }
public static function fatalElseAccess(string $userGroup, string $error)
  {
    if (isset($_SESSION[$userGroup])) {
      exit($error);
    }
  }
public static function fatalElseAccess ( string $ userGroup , string $ error ) { if ( isset ( $ _SESSION [ $ userGroup ] ) ) { exit ( $ error ) ; } }
Return Fatal Error for one users group
Return Fatal Error for one users group