mirror of
https://github.com/overleaf/overleaf.git
synced 2024-10-31 21:21:03 -04:00
13 lines
325 B
JavaScript
13 lines
325 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 {}
|
|
|
|
class DocModifiedError extends OError {}
|
|
|
|
module.exports = {
|
|
Md5MismatchError,
|
|
DocModifiedError,
|
|
...Errors,
|
|
}
|