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 error indicating a problem with the validation of the
* CRM_Twingle_Profile
*/
class CRM_Twingle_Exceptions_ProfileValidationError extends CRM_Twingle_Exceptions_BaseException {
class ProfileValidationError extends BaseException {
private string $affected_field_name;
public const ERROR_CODE_PROFILE_VALIDATION_FAILED = 'profile_validation_failed';