ghost-storage-cloudinary-v2
Version:
Cloudinary storage adapter for Ghost
17 lines (14 loc) • 494 B
JavaScript
;
const _ = require('lodash'),
GhostInternalError = require('@tryghost/errors').InternalServerError;
module.exports = {
CloudinaryAdapterError: class CloudinaryAdapterError extends GhostInternalError {
constructor(options) {
super(_.merge({
errorType: 'ImageStorageAdapterError',
message: 'An error has occurred while handling image storage.',
level: 'error'
}, options));
}
}
};