1#!/usr/bin/env python
2# -*- coding: utf-8 -*-
3"""
4
5   Copyright 2014-2019 OpenEEmeter contributors
6
7   Licensed under the Apache License, Version 2.0 (the "License");
8   you may not use this file except in compliance with the License.
9   You may obtain a copy of the License at
10
11       http://www.apache.org/licenses/LICENSE-2.0
12
13   Unless required by applicable law or agreed to in writing, software
14   distributed under the License is distributed on an "AS IS" BASIS,
15   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16   See the License for the specific language governing permissions and
17   limitations under the License.
18
19"""
20__all__ = (
21    "EEMeterError",
22    "NoBaselineDataError",
23    "NoReportingDataError",
24    "MissingModelParameterError",
25    "UnrecognizedModelTypeError",
26)
27
28
29class EEMeterError(Exception):
30    """Base class for EEmeter library errors."""
31
32    pass
33
34
35class NoBaselineDataError(EEMeterError):
36    """Error indicating lack of baseline data."""
37
38    pass
39
40
41class NoReportingDataError(EEMeterError):
42    """Error indicating lack of reporting data."""
43
44    pass
45
46
47class MissingModelParameterError(EEMeterError):
48    """Error indicating missing model parameter."""
49
50    pass
51
52
53class UnrecognizedModelTypeError(EEMeterError):
54    """Error indicating unrecognized model type."""
55
56    pass
57