use new namespace style

This commit is contained in:
Marc Michalsky 2023-08-16 14:03:44 +02:00 committed by Jens Schuppe
parent c971b6f8eb
commit db94f26d6d
3 changed files with 9 additions and 3 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';