allow locking of all objects
This commit is contained in:
parent
09711116a7
commit
e0db621595
1 changed files with 290 additions and 36 deletions
|
|
@ -7,3 +7,11 @@ class PatternError(Exception):
|
|||
|
||||
def __str__(self):
|
||||
return repr(self.value)
|
||||
|
||||
|
||||
class PatternLockedError(PatternError):
|
||||
"""
|
||||
Exception raised when trying to modify a locked pattern
|
||||
"""
|
||||
def __init__(self):
|
||||
PatternError.__init__(self, 'Tried to modify a locked Pattern, subpattern, or shape')
|
||||
|
|
|
|||
Loading…
Reference in a new issue