mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-01 05:50:35 +03:00
parent
e3ba60ca05
commit
1fcf3d0996
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user