netqasm.util.error¶
-
exception
netqasm.util.error.
NetQASMSyntaxError
¶ Bases:
SyntaxError
-
args
¶
-
filename
¶ exception filename
-
lineno
¶ exception lineno
-
msg
¶ exception msg
-
offset
¶ exception offset
-
print_file_and_line
¶ exception print_file_and_line
-
text
¶ exception text
-
with_traceback
()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
netqasm.util.error.
NetQASMInstrError
¶ Bases:
ValueError
-
args
¶
-
with_traceback
()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
netqasm.util.error.
NoCircuitRuleError
¶ Bases:
RuntimeError
-
args
¶
-
with_traceback
()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-