Removed unused GhostErrors

refs #10438
This commit is contained in:
Nazar Gargol 2019-02-24 10:52:03 +07:00 committed by Hannah Wolfe
parent e3ba60ca05
commit 1fcf3d0996

View File

@ -30,18 +30,6 @@ const ghostErrors = {
errorType: 'DatabaseVersionError' errorType: 'DatabaseVersionError'
}, options)); }, 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) { EmailError: function EmailError(options) {
GhostError.call(this, merge({ GhostError.call(this, merge({
statusCode: 500, statusCode: 500,