overleaf/libraries/object-persistor/src/Errors.js

16 lines
340 B
JavaScript
Raw Normal View History

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,
}