Improve occurs check error message.