2024-07-18 09:01:09 -04:00
|
|
|
const OError = require('@overleaf/o-error')
|
2019-05-07 09:15:26 -04:00
|
|
|
|
2024-07-18 09:01:09 -04:00
|
|
|
class NotFoundError extends OError {}
|
|
|
|
class OpRangeNotAvailableError extends OError {}
|
|
|
|
class ProjectStateChangedError extends OError {}
|
|
|
|
class DeleteMismatchError extends OError {}
|
|
|
|
class FileTooLargeError extends OError {}
|
2022-07-06 05:50:16 -04:00
|
|
|
|
2024-07-18 09:01:09 -04:00
|
|
|
module.exports = {
|
2020-05-06 06:09:33 -04:00
|
|
|
NotFoundError,
|
|
|
|
OpRangeNotAvailableError,
|
|
|
|
ProjectStateChangedError,
|
2021-07-13 07:04:42 -04:00
|
|
|
DeleteMismatchError,
|
2022-07-06 05:50:16 -04:00
|
|
|
FileTooLargeError,
|
2020-05-06 06:09:33 -04:00
|
|
|
}
|