UNPKG

ghost-storage-cloudinary-v2

Version:
17 lines (14 loc) 494 B
'use strict'; 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)); } } };