Cleanup examples of `on_error` callback

#37