Skip to content

Commit

Permalink
Comments
Browse files Browse the repository at this point in the history
  • Loading branch information
micknudsen committed Dec 2, 2023
1 parent b770864 commit abd9d3c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions 2015/01/code.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@


class InvalidInstructionError(Exception):
"""Raised when Santa receives an invalid instruction."""

def __init__(
self,
instruction: str,
Expand All @@ -13,6 +15,8 @@ def __init__(


class FloorNeverReachedError(Exception):
"""Raised when Santa never reaches the specified floor."""

def __init__(
self,
floor: int,
Expand Down

0 comments on commit abd9d3c

Please sign in to comment.