Coverage for pds_crawler/exception/extractor.py: 100%
Shortcuts on this page
r m x toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
Shortcuts on this page
r m x toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
1# -*- coding: utf-8 -*-
2# pds-crawler - ETL to index PDS data to pdssp
3# Copyright (C) 2023 - CNES (Jean-Christophe Malapert for Pôle Surfaces Planétaires)
4# This file is part of pds-crawler <https://github.com/pdssp/pds_crawler>
5# SPDX-License-Identifier: LGPL-3.0-or-later
6from .error import CrawlerError
7from .error import ModelError
10class PdsCollectionAttributeError(ModelError):
11 """Missing a mandatatory attribute in PdsCollection."""
14class PdsRecordAttributeError(ModelError):
15 """Missing a mandatatory attribute in PdsRecord."""
18class NoFileExistInFolder(CrawlerError):
19 """No content in PDS directory"""
22class PdsCatalogDescriptionError(CrawlerError):
23 """PDS error"""
26class PlanetNotFound(CrawlerError):
27 """Planet not found"""
30class DateConversionError(CrawlerError):
31 """Problem when converting a date"""
34class ParserTimeOutError(CrawlerError):
35 """Timeout when parsing with Lark"""