Override getProperty in ExtruderStack with some additional checks

This commit is contained in:
Arjen Hiemstra 2017-04-11 17:45:23 +02:00
parent 93e42164a8
commit b9dc94e1f6
2 changed files with 17 additions and 1 deletions

View file

@ -15,3 +15,8 @@ class InvalidContainerError(Exception):
## Raised when trying to add an extruder to a Global stack that already has the maximum number of extruders.
class TooManyExtrudersError(Exception):
pass
## Raised when an extruder has no next stack set.
class NoGlobalStackError(Exception):
pass