diff --git a/royalnet/engineer/bullet/exc.py b/royalnet/engineer/bullet/exc.py index 46b01f76..381b378a 100644 --- a/royalnet/engineer/bullet/exc.py +++ b/royalnet/engineer/bullet/exc.py @@ -1,5 +1,5 @@ """ -This modules contains the exceptions which can happen in bullets. +This module contains the exceptions which can be raised by bullets. """ from .. import exc diff --git a/royalnet/engineer/discard.py b/royalnet/engineer/discard.py index a66ef5af..581a9cbf 100644 --- a/royalnet/engineer/discard.py +++ b/royalnet/engineer/discard.py @@ -11,7 +11,14 @@ class Discard(BaseException): def __init__(self, obj, message): self.obj = obj + """ + The discarded object. + """ + self.message = message + """ + The reason for the discard. + """ def __repr__(self): return f"<{self.__class__.__qualname__}>"