overleaf/services/docstore/app/js/Errors.js

11 lines
263 B
JavaScript
Raw Normal View History

2020-07-23 14:42:49 -04:00
// 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 {}
2020-07-23 14:42:49 -04:00
module.exports = {
Md5MismatchError,
2021-07-13 07:04:48 -04:00
...Errors,
2020-07-23 14:42:49 -04:00
}