Completed
Push — master ( 3e1d4c...f31f72 )
by Bart
27s
created

fuel.MissingInputFiles   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %
Metric Value
dl 0
loc 14
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A MissingInputFiles.__init__() 0 3 1
1
class AxisLabelsMismatchError(ValueError):
2
    """Raised when a pair of axis labels tuples do not match."""
3
4
5
class ConfigurationError(Exception):
6
    """Error raised when a configuration value is requested but not set."""
7
8
9
class MissingInputFiles(Exception):
10
    """Exception raised by a converter when input files are not found.
11
12
    Parameters
13
    ----------
14
    message : str
15
        The error message to be associated with this exception.
16
    filenames : list
17
        A list of filenames that were not found.
18
19
    """
20
    def __init__(self, message, filenames):
21
        self.filenames = filenames
22
        super(MissingInputFiles, self).__init__(message, filenames)
23
24
25
class NeedURLPrefix(Exception):
26
    """Raised when a URL is not provided for a file."""
27