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,10 +1,12 @@
<?php
namespace CRM\Twingle\Exceptions;
/**
* A simple custom exception that indicates a problem within the
* CRM_Twingle_Profile class
*/
class CRM_Twingle_Exceptions_ProfileException extends CRM_Twingle_Exceptions_BaseException {
class ProfileException extends BaseException {
public const ERROR_CODE_PROFILE_NOT_FOUND = 'profile_not_found';
public const ERROR_CODE_DEFAULT_PROFILE_NOT_FOUND = 'default_profile_not_found';