overleaf/services/docstore/app/js/Errors.js
2020-07-23 19:42:49 +01:00

10 lines
262 B
JavaScript

// import Errors from object-persistor to pass instanceof checks
const OError = require('@overleaf/o-error')
const { Errors } = require('@overleaf/object-persistor')
class Md5MismatchError extends OError {}
module.exports = {
Md5MismatchError,
...Errors
}