Add an example of error handling, fixes #47

in order to close https://github.com/substack/stream-handbook/issues/47