Fixed a mistake of how to use error handler on example.