Coverage for fio_wrapper/exceptions.py: 100%
21 statements
« prev ^ index » next coverage.py v7.3.2, created at 2023-11-16 11:32 +0100
« prev ^ index » next coverage.py v7.3.2, created at 2023-11-16 11:32 +0100
1# Generic
4class EndpointNotImplemented(Exception):
5 """Endpoint is not implemented in fio_wrapper"""
8class NoAPIKeyProvided(Exception):
9 """No FIO API Key was provided, but endpoint requires key"""
12class NotAuthenticated(Exception):
13 """FIO returned failed authentication"""
16class UnknownFIOResponse(Exception):
17 """FIO returned a unknown response"""
20class UnknownConfig(Exception):
21 """Configuration not available"""
24# Material
27class MaterialTickerInvalid(Exception):
28 """Invalid Material Ticker provided"""
31class MaterialTickerNotFound(Exception):
32 """Material Ticker not found"""
35class MaterialCategoryNotFound(Exception):
36 """Material Category not found"""
39# Exchange
42class ExchangeTickerInvalid(Exception):
43 """Exchange ticker invalid"""
46class ExchangeTickerNotFound(Exception):
47 """Exchange ticker not found"""
50class CompanyCodeInvalid(Exception):
51 """Company code invalid"""
54# Building
57class BuildingTickerNotFound(Exception):
58 """Building ticker not found"""
61# Planet
64class PlanetNotFound(Exception):
65 """Planet not found"""
68class PlanetSearchMaterialsInvalid(Exception):
69 """Planet search material ticker provided invalid"""
72class PlanetSearchDistanceChecksInvalid(Exception):
73 """Planet search invalid distance checks"""
76class PlanetSearchInvalidRequest(Exception):
77 """Planet search request invalid"""
80# LocalMarket
83class InvalidAdType(Exception):
84 """Ad type invalid"""
87class PlanetOrAdsNotFound(Exception):
88 """Planet or ads not found"""
91class CompanyOrAdsNotFound(Exception):
92 """Company or ads not found"""
95# Sites
98class NoSiteData(Exception):
99 """No site data found"""
102# Storage
105class NoStorageData(Exception):
106 """No storage data found"""