Throw if status scheduled and no schedule set

This commit is contained in:
Jake Barnby
2024-01-19 16:16:24 +13:00
parent 65573adad6
commit d292562090
3 changed files with 19 additions and 1 deletions
+1
View File
@@ -262,6 +262,7 @@ class Exception extends \Exception
public const MESSAGE_TARGET_NOT_EMAIL = 'message_target_not_email';
public const MESSAGE_TARGET_NOT_SMS = 'message_target_not_sms';
public const MESSAGE_TARGET_NOT_PUSH = 'message_target_not_push';
public const MESSAGE_MISSING_SCHEDULE = 'message_missing_schedule';
/** Schedules */
public const SCHEDULE_NOT_FOUND = 'schedule_not_found';