diff options
| author | Michael Williamson <mike@zwobble.org> | 2017-05-24 21:01:53 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2017-05-24 21:01:53 +0100 |
| commit | 5049244505ad55659bf7480fd30cececb88f285d (patch) | |
| tree | ae5b593342211e09ac09c27b36e3341d45481f9b /lib/document-to-html.js | |
| parent | 941d705b6c30f1e43889c4e62c0a747f7b6fe8ba (diff) | |
Add message to error
Diffstat (limited to 'lib/document-to-html.js')
| -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) { |
