mirror of
				https://github.com/dwaxweiler/connector-mobilizon
				synced 2025-06-05 21:59:25 +02:00 
			
		
		
		
	move requests to backend (#18)
This commit is contained in:
		
							
								
								
									
										12
									
								
								source/includes/exceptions/GeneralException.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								source/includes/exceptions/GeneralException.php
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,12 @@ | ||||
| <?php | ||||
| namespace MobilizonConnector; | ||||
|  | ||||
| class GeneralException extends \Exception { | ||||
|   public function __construct($message, $code = 0, Throwable $previous = null) { | ||||
|     parent::__construct($message, $code, $previous); | ||||
|   } | ||||
|  | ||||
|   public function __toString() { | ||||
|     return __CLASS__ . ": [{$this->code}]: {$this->message}\n"; | ||||
| } | ||||
| } | ||||
							
								
								
									
										12
									
								
								source/includes/exceptions/GroupNotFoundException.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								source/includes/exceptions/GroupNotFoundException.php
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,12 @@ | ||||
| <?php | ||||
| namespace MobilizonConnector; | ||||
|  | ||||
| class GroupNotFoundException extends \Exception { | ||||
|   public function __construct($message, $code = 0, Throwable $previous = null) { | ||||
|     parent::__construct($message, $code, $previous); | ||||
|   } | ||||
|  | ||||
|   public function __toString() { | ||||
|     return __CLASS__ . ": [{$this->code}]: {$this->message}\n"; | ||||
| } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user