Improved error message for BlockContext::setSetting.