overleaf/services/document-updater/app/js/Errors.js

16 lines
406 B
JavaScript
Raw Normal View History

const OError = require('@overleaf/o-error')
class NotFoundError extends OError {}
class OpRangeNotAvailableError extends OError {}
class ProjectStateChangedError extends OError {}
class DeleteMismatchError extends OError {}
class FileTooLargeError extends OError {}
module.exports = {
NotFoundError,
OpRangeNotAvailableError,
ProjectStateChangedError,
2021-07-13 07:04:42 -04:00
DeleteMismatchError,
FileTooLargeError,
}