mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-14 18:52:05 +03:00
748c664b78
closes #6976 - add maintenance mode when running migrations - refactor update/populate migrations
12 lines
334 B
JavaScript
12 lines
334 B
JavaScript
function DatabaseNotPopulated(message) {
|
|
this.message = message;
|
|
this.stack = new Error().stack;
|
|
this.statusCode = 500;
|
|
this.errorType = this.name;
|
|
}
|
|
|
|
DatabaseNotPopulated.prototype = Object.create(Error.prototype);
|
|
DatabaseNotPopulated.prototype.name = 'DatabaseNotPopulated';
|
|
|
|
module.exports = DatabaseNotPopulated;
|