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

Lines Matching refs:Error

58         getmark(id)     -- raises an error since the mark does not
131 class Error(Exception):
169 raise Error, 'bad magic number'
172 raise Error, 'header size too small'
174 raise Error, 'header size ridiculously large'
180 raise Error, 'encoding not (yet) supported'
194 raise Error, 'unknown encoding'
251 raise Error, 'no marks'
274 raise Error, 'position not in range'
308 raise Error, 'cannot change parameters after starting to write'
310 raise Error, 'only 1, 2, or 4 channels supported'
315 raise Error, 'number of channels not set'
320 raise Error, 'cannot change parameters after starting to write'
322 raise Error, 'bad sample width'
327 raise Error, 'sample width not specified'
332 raise Error, 'cannot change parameters after starting to write'
337 raise Error, 'frame rate not set'
342 raise Error, 'cannot change parameters after starting to write'
344 raise Error, '# of frames cannot be negative'
354 raise Error, 'unknown compression type'
414 raise Error, '# of channels not specified'
416 raise Error, 'sample width not specified'
418 raise Error, 'frame rate not specified'
433 raise Error, 'internal error'
438 raise Error, 'internal error'
473 raise Error, "mode must be 'r', 'rb', 'w', or 'wb'"