use new namespace style

This commit is contained in:
Marc Michalsky 2023-08-16 14:03:44 +02:00 committed by Jens Schuppe
parent 43be624bf6
commit 27675b7219
5 changed files with 13 additions and 7 deletions

View file

@ -1,12 +1,14 @@
<?php
namespace CRM\Twingle\Exceptions;
use CRM_Twingle_ExtensionUtil as E;
/**
* A simple custom exception class that indicates a problem within a class
* of the Twingle API extension.
*/
class CRM_Twingle_Exceptions_BaseException extends Exception {
class BaseException extends \Exception {
private string $error_code;
private string $log_message;