Fix errors in usage example

There are a few errors in the example that may lead people astray.

Another note is that it would be good to have an example of `myOwnErrorHandler` for users.