mirror of
https://github.com/overleaf/overleaf.git
synced 2024-10-31 21:21:03 -04:00
8af619ac28
Implement ErrorType Errors GitOrigin-RevId: fef4d6016ad413b0de635a882e53fed6ee5f1f85
43 lines
1.2 KiB
JavaScript
43 lines
1.2 KiB
JavaScript
const { BackwardCompatibleError } = require('../Errors/Errors.js')
|
|
|
|
class UrlFetchFailedError extends BackwardCompatibleError {}
|
|
|
|
class InvalidUrlError 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 = {
|
|
UrlFetchFailedError,
|
|
InvalidUrlError,
|
|
OutputFileFetchFailedError,
|
|
AccessDeniedError,
|
|
BadEntityTypeError,
|
|
BadDataError,
|
|
ProjectNotFoundError,
|
|
V1ProjectNotFoundError,
|
|
SourceFileNotFoundError,
|
|
NotOriginalImporterError,
|
|
FeatureNotAvailableError,
|
|
RemoteServiceError,
|
|
FileCannotRefreshError
|
|
}
|