Display an error message if the snippet cannot be loaded