NotificationError
Closed this issue · 2 comments
mwikya commented
Hello,good job you've done here, i am finding this app really useful.
I kinda need to use the NotificationError class somewhere but can't seem to find where it's defined.
Can you please help on this.
Thank you.
danidee10 commented
Hello @mwikya , The notification class is defined in notifications/__init__.py
To import use:
from notifications import NotificationError
It's a dummy class for now (doesn't really do anything apart from inheriting from Exception
)
Useful tip for Next time: You can easily use your IDE/Text editor to find out where a class was defined (by searching). I'll recommend Pycharm 😊
mwikya commented
Okay,thank you.I appreciate