diff options
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/document-to-html.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/document-to-html.js b/lib/document-to-html.js index 852e0af..48a7e61 100644 --- a/lib/document-to-html.js +++ b/lib/document-to-html.js @@ -88,7 +88,7 @@ function DocumentConversion(options, comments) { function elementToHtml(element, messages, options) { if (!options) { - throw new Error(); + throw new Error("options not set"); } var handler = elementConverters[element.type]; if (handler) { |
