overleaf/services/web/app/src/Features/LinkedFiles/LinkedFilesErrors.js
Alexandre Bourdin 4b4ed6147c Merge pull request #4341 from overleaf/jpa-ta-error-message-linked-files
[misc] better error msg for failed compiles when linking project files

GitOrigin-RevId: cac3d9e5cf25918dc8f5e259d106c145235c15c1
2021-07-30 13:08:12 +00:00

45 lines
1.3 KiB
JavaScript

const { BackwardCompatibleError } = require('../Errors/Errors.js')
class UrlFetchFailedError extends BackwardCompatibleError {}
class InvalidUrlError extends BackwardCompatibleError {}
class CompileFailedError extends BackwardCompatibleError {}
class OutputFileFetchFailedError 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,
OutputFileFetchFailedError,
AccessDeniedError,
BadEntityTypeError,
BadDataError,
ProjectNotFoundError,
V1ProjectNotFoundError,
SourceFileNotFoundError,
NotOriginalImporterError,
FeatureNotAvailableError,
RemoteServiceError,
FileCannotRefreshError,
}