From 1b6643c97461b1148f68f5a9a90753606f97ff07 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Wed, 23 Oct 2013 23:09:39 -0700 Subject: [PATCH] website/docs: clearer --- website/docs/source/v2/plugins/configuration.html.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/website/docs/source/v2/plugins/configuration.html.md b/website/docs/source/v2/plugins/configuration.html.md index 08c27051c..c0006c4f1 100644 --- a/website/docs/source/v2/plugins/configuration.html.md +++ b/website/docs/source/v2/plugins/configuration.html.md @@ -162,7 +162,9 @@ The validation method is given a `machine` object, since validation is done for each machine that Vagrant is managing. This allows you to conditionally validate some keys based on the state of the machine and so on. -The `_detected_errors` method returns any errors already detected by Vagrant, like unknown configuration keys. +The `_detected_errors` method returns any errors already detected by Vagrant, +such as unknown configuration keys. This returns an array of error messages, +so be sure to turn it into the proper Hash object to return later. The return value is a Ruby Hash object, where the key is a section name, and the value is a list of error messages. These will be displayed by