Add check on list type

[MAILPOET-4752]
This commit is contained in:
Jan Lysý
2022-10-31 15:06:58 +01:00
committed by Aschepikov
parent f231f3dc6d
commit ad46d05c6b
4 changed files with 40 additions and 8 deletions

View File

@@ -23,4 +23,5 @@ class APIException extends \Exception {
const LIST_USED_IN_EMAIL = 20;
const LIST_USED_IN_FORM = 21;
const FAILED_TO_DELETE_LIST = 22;
const LIST_TYPE_IS_NOT_SUPPORTED = 23;
}