Home | History | Annotate | Download | only in python2.7

Lines Matching refs:Error

25       getmark(id)     -- raises an error since the mark does not
76 __all__ = ["open", "openfp", "Error"]
78 class Error(Exception):
130 raise Error, 'file does not start with RIFF id'
132 raise Error, 'not a WAVE file'
147 raise Error, 'data chunk before fmt chunk'
154 raise Error, 'fmt chunk and/or data chunk missing'
217 raise Error, 'no marks'
221 raise Error, 'position not in range'
269 raise Error, 'unknown format: %r' % (wFormatTag,)
332 raise Error, 'cannot change parameters after starting to write'
334 raise Error, 'bad # of channels'
339 raise Error, 'number of channels not set'
344 raise Error, 'cannot change parameters after starting to write'
346 raise Error, 'bad sample width'
351 raise Error, 'sample width not set'
356 raise Error, 'cannot change parameters after starting to write'
358 raise Error, 'bad frame rate'
363 raise Error, 'frame rate not set'
368 raise Error, 'cannot change parameters after starting to write'
376 raise Error, 'cannot change parameters after starting to write'
378 raise Error, 'unsupported compression type'
391 raise Error, 'cannot change parameters after starting to write'
400 raise Error, 'not all parameters set'
405 raise Error, 'setmark() not supported'
408 raise Error, 'no marks'
455 raise Error, '# channels not specified'
457 raise Error, 'sample width not specified'
459 raise Error
502 raise Error, "mode must be 'r', 'rb', 'w', or 'wb'"