Fix doc block and use a more generic error message.