diff --git a/ghost/errors/lib/errors.js b/ghost/errors/lib/errors.js index b8a41fd39c..2dc5d9e284 100644 --- a/ghost/errors/lib/errors.js +++ b/ghost/errors/lib/errors.js @@ -332,6 +332,14 @@ const ghostErrors = { hideStack: true }, options)); } + }, + ConflictError: class ConflictError extends GhostError { + constructor(options) { + super(merge({ + errorType: 'ConflictError', + statusCode: 409 + }, options)); + } } };