Error handling notebook