overleaf/services/web/app/src/Features/LinkedFiles/LinkedFilesErrors.js
Brian Gough d3adcff0f1 Merge pull request #15544 from overleaf/bg-misc-use-literal-paths
Replace APP_ROOT and other variables with literal paths in web imports

GitOrigin-RevId: 138f03ad9355c8c6c92a206b0e54573234a6f65d
2023-11-02 08:53:03 +00:00

43 lines
1.2 KiB
JavaScript

const { BackwardCompatibleError } = require('../Errors/Errors')
class UrlFetchFailedError extends BackwardCompatibleError {}
class InvalidUrlError extends BackwardCompatibleError {}
class CompileFailedError extends BackwardCompatibleError {}
class AccessDeniedError extends BackwardCompatibleError {}
class BadEntityTypeError extends BackwardCompatibleError {}
class BadDataError extends BackwardCompatibleError {}
class ProjectNotFoundError extends BackwardCompatibleError {}
class V1ProjectNotFoundError extends BackwardCompatibleError {}
class SourceFileNotFoundError extends BackwardCompatibleError {}
class NotOriginalImporterError extends BackwardCompatibleError {}
class FeatureNotAvailableError extends BackwardCompatibleError {}
class RemoteServiceError extends BackwardCompatibleError {}
class FileCannotRefreshError extends BackwardCompatibleError {}
module.exports = {
CompileFailedError,
UrlFetchFailedError,
InvalidUrlError,
AccessDeniedError,
BadEntityTypeError,
BadDataError,
ProjectNotFoundError,
V1ProjectNotFoundError,
SourceFileNotFoundError,
NotOriginalImporterError,
FeatureNotAvailableError,
RemoteServiceError,
FileCannotRefreshError,
}