Doc(Compute/typing): Make ComputeError and TypingError more clear
This commit is contained in:
@@ -45,7 +45,7 @@ def typing(node, left_v, right_v):
|
||||
try:
|
||||
operation = OPERATIONS[node]
|
||||
except KeyError:
|
||||
raise TypingError(f"Unknown operation ({node})")
|
||||
raise TypingError(f"Unknown operation ({node}) in typing")
|
||||
return operation(left_v, right_v)
|
||||
|
||||
def typing_capacities(node):
|
||||
|
Reference in New Issue
Block a user