File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -124,17 +124,17 @@ class TooManyArgumentsException(ViURShopHttpException):
124124 Exception raised when a function receives unknown or excessive arguments.
125125 """
126126
127- def __init__ (self , func_name : str , * argument_name : str ):
127+ def __init__ (self , func_name : str , * argument_names : str ):
128128 """Create a new TooManyArgumentsException.
129129
130130 :param func_nam: The name of the function where the error occurred.
131- :param argument_name : Names of the unexpected arguments passed to the function.
131+ :param argument_names : Names of the unexpected arguments passed to the function.
132132 """
133133 self .func_name = func_name
134- self .argument_names : tuple [str , ...] = argument_name
134+ self .argument_names : tuple [str , ...] = argument_names
135135 super ().__init__ (
136136 status = 462 , name = "Too Many Arguments" ,
137- descr = f"{ func_name } got too many (unknown) arguments: { ', ' .join (argument_name )} " ,
137+ descr = f"{ func_name } got too many (unknown) arguments: { ', ' .join (argument_names )} " ,
138138 )
139139
140140
You can’t perform that action at this time.
0 commit comments