class StreamError(Exception): pass