From 62cd9feb55bc498fe6cd97572bfdd097918f3556 Mon Sep 17 00:00:00 2001 From: profitroll Date: Wed, 5 Oct 2022 13:08:43 +0200 Subject: [PATCH] Added Exception for not ready methods --- pyrmv/errors/not_ready.py | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 pyrmv/errors/not_ready.py diff --git a/pyrmv/errors/not_ready.py b/pyrmv/errors/not_ready.py new file mode 100644 index 0000000..0ed3c03 --- /dev/null +++ b/pyrmv/errors/not_ready.py @@ -0,0 +1,9 @@ +class NotReadyYetError(Exception): + """ + This method is not finished yet. + """ + def __init__(self): + super().__init__(self.__doc__) + + def __str__(self): + return self.__doc__ \ No newline at end of file