overleaf/libraries/object-persistor/src/Errors.js
Jakob Ackermann 4b308553be Merge pull request #6120 from overleaf/jpa-same-linting-packages
[misc] move the linting setup to the root of the monorepo

GitOrigin-RevId: 1633e2a58598add0b727738cd3bfba0ab7bae781
2021-12-17 09:03:06 +00:00

15 lines
340 B
JavaScript

const OError = require('@overleaf/o-error')
class NotFoundError extends OError {}
class WriteError extends OError {}
class ReadError extends OError {}
class SettingsError extends OError {}
class NotImplementedError extends OError {}
module.exports = {
NotFoundError,
WriteError,
ReadError,
SettingsError,
NotImplementedError,
}