mirror of
https://github.com/overleaf/overleaf.git
synced 2024-10-24 21:12:38 -04:00
4b4ed6147c
[misc] better error msg for failed compiles when linking project files GitOrigin-RevId: cac3d9e5cf25918dc8f5e259d106c145235c15c1
45 lines
1.3 KiB
JavaScript
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,
|
|
}
|