diff options
Diffstat (limited to 'packages/gitbook/src/utils/error.js')
-rw-r--r-- | packages/gitbook/src/utils/error.js | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/packages/gitbook/src/utils/error.js b/packages/gitbook/src/utils/error.js index 925b5ff..2d65b17 100644 --- a/packages/gitbook/src/utils/error.js +++ b/packages/gitbook/src/utils/error.js @@ -55,13 +55,6 @@ const RequireInstallError = TypedError({ }); // Error for nunjucks templates -const TemplateError = WrappedError({ - message: 'Error compiling template "{filename}": {origMessage}', - type: 'template', - filename: null -}); - -// Error for nunjucks templates const PluginError = WrappedError({ message: 'Error with plugin "{plugin}": {origMessage}', type: 'plugin', @@ -92,7 +85,6 @@ module.exports = { FileNotFoundError, FileOutOfScopeError, - TemplateError, PluginError, ConfigurationError, EbookError |