2019-07-19 05:39:58 -04:00
|
|
|
const { BackwardCompatibleError } = require('../Errors/Errors.js')
|
2019-05-29 05:21:06 -04:00
|
|
|
|
2019-07-19 05:39:58 -04:00
|
|
|
class UrlFetchFailedError extends BackwardCompatibleError {}
|
2019-05-29 05:21:06 -04:00
|
|
|
|
2019-07-19 05:39:58 -04:00
|
|
|
class InvalidUrlError extends BackwardCompatibleError {}
|
2019-05-29 05:21:06 -04:00
|
|
|
|
2019-07-19 05:39:58 -04:00
|
|
|
class OutputFileFetchFailedError extends BackwardCompatibleError {}
|
2019-05-29 05:21:06 -04:00
|
|
|
|
2019-07-19 05:39:58 -04:00
|
|
|
class AccessDeniedError extends BackwardCompatibleError {}
|
2019-05-29 05:21:06 -04:00
|
|
|
|
2019-07-19 05:39:58 -04:00
|
|
|
class BadEntityTypeError extends BackwardCompatibleError {}
|
2019-05-29 05:21:06 -04:00
|
|
|
|
2019-07-19 05:39:58 -04:00
|
|
|
class BadDataError extends BackwardCompatibleError {}
|
2019-05-29 05:21:06 -04:00
|
|
|
|
2019-07-19 05:39:58 -04:00
|
|
|
class ProjectNotFoundError extends BackwardCompatibleError {}
|
2019-05-29 05:21:06 -04:00
|
|
|
|
2019-07-19 05:39:58 -04:00
|
|
|
class V1ProjectNotFoundError extends BackwardCompatibleError {}
|
2019-05-29 05:21:06 -04:00
|
|
|
|
2019-07-19 05:39:58 -04:00
|
|
|
class SourceFileNotFoundError extends BackwardCompatibleError {}
|
2019-05-29 05:21:06 -04:00
|
|
|
|
2019-07-19 05:39:58 -04:00
|
|
|
class NotOriginalImporterError extends BackwardCompatibleError {}
|
2019-05-29 05:21:06 -04:00
|
|
|
|
2019-07-19 05:39:58 -04:00
|
|
|
class FeatureNotAvailableError extends BackwardCompatibleError {}
|
2019-05-29 05:21:06 -04:00
|
|
|
|
2019-07-19 05:39:58 -04:00
|
|
|
class RemoteServiceError extends BackwardCompatibleError {}
|
|
|
|
|
|
|
|
class FileCannotRefreshError extends BackwardCompatibleError {}
|
2019-05-29 05:21:06 -04:00
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
UrlFetchFailedError,
|
|
|
|
InvalidUrlError,
|
|
|
|
OutputFileFetchFailedError,
|
|
|
|
AccessDeniedError,
|
|
|
|
BadEntityTypeError,
|
|
|
|
BadDataError,
|
|
|
|
ProjectNotFoundError,
|
|
|
|
V1ProjectNotFoundError,
|
|
|
|
SourceFileNotFoundError,
|
|
|
|
NotOriginalImporterError,
|
|
|
|
FeatureNotAvailableError,
|
|
|
|
RemoteServiceError,
|
|
|
|
FileCannotRefreshError
|
|
|
|
}
|