catch all exceptions in all tutorials and examples