Skip to content

Commit 63534b7

Browse files
chore: rename SolutionNotFoundException in template to SolutionNotFoundError
1 parent 629b70a commit 63534b7

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/adventofcode/scripts/templates/day_template.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from adventofcode.util.exceptions import SolutionNotFoundException
1+
from adventofcode.util.exceptions import SolutionNotFoundError
22
from adventofcode.registry.decorators import register_solution
33
from 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

src/adventofcode/year_2021/day_25_2021.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)