File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1- from adventofcode.util.exceptions import SolutionNotFoundException
1+ from adventofcode.util.exceptions import SolutionNotFoundError
22from adventofcode.registry.decorators import register_solution
33from adventofcode.util.input_helpers import get_input_for_day
44
@@ -8,7 +8,7 @@ def part_one(input_data: list[str]):
88 answer = ...
99
1010 if not answer:
11- raise SolutionNotFoundException ({year}, {day}, 1)
11+ raise SolutionNotFoundError ({year}, {day}, 1)
1212
1313 return answer
1414
@@ -18,7 +18,7 @@ def part_two(input_data: list[str]):
1818 answer = ...
1919
2020 if not answer:
21- raise SolutionNotFoundException ({year}, {day}, 2)
21+ raise SolutionNotFoundError ({year}, {day}, 2)
2222
2323 return answer
2424
Original file line number Diff line number Diff line change @@ -129,7 +129,7 @@ def part_one(input_data: list[str]):
129129# answer = ...
130130#
131131# if not answer:
132- # raise SolutionNotFoundException (2021, 25, 2)
132+ # raise SolutionNotFoundError (2021, 25, 2)
133133#
134134# return answer
135135
You can’t perform that action at this time.
0 commit comments