Added missing error message in failing example in documentation.