mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 17:19:37 +02:00
24 lines
528 B
JavaScript
24 lines
528 B
JavaScript
// import Errors from object-persistor to pass instanceof checks
|
|
import OError from '@overleaf/o-error'
|
|
|
|
import { Errors } from '@overleaf/object-persistor'
|
|
|
|
class Md5MismatchError extends OError {}
|
|
|
|
class DocModifiedError extends OError {}
|
|
|
|
class DocRevValueError extends OError {}
|
|
|
|
class DocVersionDecrementedError extends OError {}
|
|
|
|
class DocWithoutLinesError extends OError {}
|
|
|
|
export default {
|
|
Md5MismatchError,
|
|
DocModifiedError,
|
|
DocRevValueError,
|
|
DocVersionDecrementedError,
|
|
DocWithoutLinesError,
|
|
...Errors,
|
|
}
|