Skip to content

Commit

Permalink
✨ Typing
Browse files Browse the repository at this point in the history
  • Loading branch information
asim-shrestha committed Dec 6, 2024
1 parent a3662c9 commit 9e2ec2e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion core/harambe_core/errors.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
from typing import Any


class HarambeException(Exception):
"""Base exception for all custom exceptions in Harambe."""

pass


class UnknownHTMLConverter(HarambeException):
def __init__(self, converter_type: any) -> None:
def __init__(self, converter_type: Any) -> None:
super().__init__(f"Unknown HTML converter type: {converter_type}")


Expand Down

0 comments on commit 9e2ec2e

Please sign in to comment.