equal
deleted
inserted
replaced
100 |
100 |
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 class UnsupportedPartError(BundleValueError): |
105 def __init__(self, parttype=None, params=()): |
106 def __init__(self, parttype=None, params=()): |
106 self.parttype = parttype |
107 self.parttype = parttype |
107 self.params = params |
108 self.params = params |
108 if self.parttype is None: |
109 if self.parttype is None: |
109 msg = 'Stream Parameter' |
110 msg = 'Stream Parameter' |