Source code for bugsy.errors

[docs]class BugsyException(Exception): """ If while interacting with Bugzilla and we try do something that is not supported this error will be raised. """ def __init__(self, msg): self.msg = msg def __str__(self): return "Message: %s" % self.msg
[docs]class LoginException(BugsyException): """ If a username and password are passed in but we don't receive a token then this error will be raised. """ pass
[docs]class BugException(BugsyException): """ If we try do something that is not allowed to a bug then this error is raised """ pass
class SearchException(BugsyException): """ If while interacting with Bugzilla and we try do something that is not supported this error will be raised. """ pass