eight_bit_computer.exceptions module¶
Custom exceptions used in this project.
-
exception
eight_bit_computer.exceptions.EightBitComputerError[source]¶ Bases:
exceptions.ExceptionBase class for exceptions in the computer
-
exception
eight_bit_computer.exceptions.OperationParsingError[source]¶ Bases:
eight_bit_computer.exceptions.EightBitComputerErrorRaised when parsing an operation fails.
E.g. An incorrect argument is used with the LOAD operation.
-
exception
eight_bit_computer.exceptions.LineProcessingError[source]¶ Bases:
eight_bit_computer.exceptions.EightBitComputerErrorRaised when processing a line fails.
E.g. The line was not a constant declaration and no operations matched.
-
exception
eight_bit_computer.exceptions.AssemblyError[source]¶ Bases:
eight_bit_computer.exceptions.EightBitComputerErrorRaised when the assembly could not be converted to machine code.