File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed
Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change 1212# See the License for the specific language governing permissions and
1313# limitations under the License.
1414
15- __version__ = '0.1.1 '
15+ __version__ = '0.1.2 '
Original file line number Diff line number Diff line change @@ -39,6 +39,17 @@ class ApiReportFetcherError(exceptions.GarfError):
3939 """Base exception for all ApiReportFetchers."""
4040
4141
42+ class MissingApiReportFetcherError (ApiReportFetcherError ):
43+ """Exception for not found report fetcher."""
44+
45+ def __init__ (self , source : str ) -> None :
46+ """Initializes MissingApiReportFetcherError."""
47+ self .source = source
48+
49+ def __str__ (self ) -> str :
50+ return f'No fetcher available for the source "{ self .source } "'
51+
52+
4253class ApiReportFetcher :
4354 """Class responsible for getting data from report API.
4455
You can’t perform that action at this time.
0 commit comments