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

build.exceptions.LinkNotFound.__init__()   A

Complexity

Conditions 1

Size

Total Lines 3
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 3
CRAP Score 1

Importance

Changes 0
Metric Value
cc 1
eloc 3
nop 3
dl 0
loc 3
ccs 3
cts 3
cp 1
crap 1
rs 10
c 0
b 0
f 0
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