From 18930501199032df3fd82bec8cd1a756ec36cbec Mon Sep 17 00:00:00 2001 From: wangqin <442577631@qq.com> Date: Wed, 28 Dec 2022 16:09:48 +0800 Subject: [PATCH] Add an exception of storage users has reached the upper limit --- delfin/exception.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/delfin/exception.py b/delfin/exception.py index c4eb9b350..98fc58a16 100644 --- a/delfin/exception.py +++ b/delfin/exception.py @@ -385,3 +385,8 @@ class ComponentNotFound(NotFound): class IncompleteTrapInformation(DelfinException): msg_fmt = _("Incomplete trap information." "Storage {0} alert information needs to be synchronized.") + + +class StorageMaxUserCountException(DelfinException): + msg_fmt = _( + "Exception from storage of users has reached the upper limit: {0}.")