Adding error handling to examples.