equal
deleted
inserted
replaced
101 # bundle2 related errors |
101 # bundle2 related errors |
102 class BundleValueError(ValueError): |
102 class BundleValueError(ValueError): |
103 """error raised when bundle2 cannot be processed |
103 """error raised when bundle2 cannot be processed |
104 |
104 |
105 Current main usecase is unsupported part types.""" |
105 Current main usecase is unsupported part types.""" |
106 pass |
106 |
|
107 def __init__(self, parttype): |
|
108 self.parttype = parttype |
|
109 super(BundleValueError, self).__init__(parttype) |
107 |
110 |
108 class ReadOnlyPartError(RuntimeError): |
111 class ReadOnlyPartError(RuntimeError): |
109 """error raised when code tries to alter a part being generated""" |
112 """error raised when code tries to alter a part being generated""" |
110 pass |
113 pass |
111 |
114 |