From 1fcf3d0996f7d01a342d58a85438887979f5e6a1 Mon Sep 17 00:00:00 2001 From: Nazar Gargol Date: Sun, 24 Feb 2019 10:52:03 +0700 Subject: [PATCH] Removed unused GhostErrors refs #10438 --- ghost/errors/lib/errors.js | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/ghost/errors/lib/errors.js b/ghost/errors/lib/errors.js index db2b6d99e3..d37e3dc6b3 100644 --- a/ghost/errors/lib/errors.js +++ b/ghost/errors/lib/errors.js @@ -30,18 +30,6 @@ const ghostErrors = { errorType: 'DatabaseVersionError' }, options)); }, - DatabaseNotPopulatedError: function DatabaseNotPopulatedError(options) { - GhostError.call(this, merge({ - statusCode: 500, - errorType: 'DatabaseNotPopulatedError' - }, options)); - }, - DatabaseNotSeededError: function DatabaseNotSeededError(options) { - GhostError.call(this, merge({ - statusCode: 500, - errorType: 'DatabaseNotSeededError' - }, options)); - }, EmailError: function EmailError(options) { GhostError.call(this, merge({ statusCode: 500,