Passed
Push — master ( bdb3e4...e1fc2e )
by Aldo
03:14
created

build.exceptions   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
eloc 5
dl 0
loc 9
ccs 4
cts 4
cp 1
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A LinkNotFound.__init__() 0 3 1
1
"""pathfinder Exceptions."""
2
3
4 1
class LinkNotFound(Exception):
5
    """Error when a link is not found in the graph."""
6 1
    def __init__(self, msg, link=None):
7 1
        self.link = link
8
        super().__init__(msg)
9