Skip to content

Commit

Permalink
missing file
Browse files Browse the repository at this point in the history
  • Loading branch information
jwdevantier committed Jul 6, 2022
1 parent b23c4c5 commit d3e6243
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions gcgen/excbase.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
from abc import ABC, abstractmethod


class GcgenError(ABC, Exception):
@abstractmethod
def printerr(self) -> None:
"""Print message for end-user."""
raise NotImplementedError(
f"{self.__module__}.{type(self).__qualname__} does not implement `printerr`"
)

0 comments on commit d3e6243

Please sign in to comment.