@@ -167,23 +167,23 @@ class FunctionJobCollectionStatus(BaseModel):
167167 status : list [str ]
168168
169169
170- class FunctionNotFoundError (Exception ):
170+ class FunctionIDNotFoundError (Exception ):
171171 """Exception raised when a function is not found"""
172172
173173 def __init__ (self , function_id : FunctionID ):
174174 self .function_id = function_id
175175 super ().__init__ (f"Function { function_id } not found" )
176176
177177
178- class FunctionJobNotFoundError (Exception ):
178+ class FunctionJobIDNotFoundError (Exception ):
179179 """Exception raised when a function job is not found"""
180180
181181 def __init__ (self , function_job_id : FunctionJobID ):
182182 self .function_job_id = function_job_id
183183 super ().__init__ (f"Function job { function_job_id } not found" )
184184
185185
186- class FunctionJobCollectionNotFoundError (Exception ):
186+ class FunctionJobCollectionIDNotFoundError (Exception ):
187187 """Exception raised when a function job collection is not found"""
188188
189189 def __init__ (self , function_job_collection_id : FunctionJobCollectionID ):
@@ -193,13 +193,27 @@ def __init__(self, function_job_collection_id: FunctionJobCollectionID):
193193 )
194194
195195
196- class RegisterFunctionWithUIDError (Exception ):
196+ class RegisterFunctionWithIDError (Exception ):
197197 """Exception raised when registering a function with a UID"""
198198
199199 def __init__ (self ):
200200 super ().__init__ ("Cannot register Function with a UID" )
201201
202202
203+ class RegisterFunctionJobWithIDError (Exception ):
204+ """Exception raised when registering a function job with a UID"""
205+
206+ def __init__ (self ):
207+ super ().__init__ ("Cannot register FunctionJob with a UID" )
208+
209+
210+ class RegisterFunctionJobCollectionWithIDError (Exception ):
211+ """Exception raised when registering a function job collection with a UID"""
212+
213+ def __init__ (self ):
214+ super ().__init__ ("Cannot register FunctionJobCollection with a UID" )
215+
216+
203217class UnsupportedFunctionClassError (Exception ):
204218 """Exception raised when a function class is not supported"""
205219
0 commit comments