Source

adama / src / adama / exceptions.py

Diff from to

File src/adama/exceptions.py

     def __str__(self):
         return self.message
 
-    def __call__(self):
-        print(self.print_error())
+    def __call__(self, in_shell=True):
+        if in_shell:
+            print(self.print_error())
         return self.number