added 3rd party packages, elog, bigtree
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
class LogbookError(Exception):
|
||||
""" Parent logbook exception."""
|
||||
pass
|
||||
|
||||
|
||||
class LogbookAuthenticationError(LogbookError):
|
||||
""" Raise when problem with username and password."""
|
||||
pass
|
||||
|
||||
|
||||
class LogbookServerProblem(LogbookError):
|
||||
""" Raise when problem accessing logbook server."""
|
||||
pass
|
||||
|
||||
|
||||
class LogbookMessageRejected(LogbookError):
|
||||
""" Raised when manipulating/creating message was rejected by the server or there was problem composing message."""
|
||||
pass
|
||||
|
||||
|
||||
class LogbookInvalidMessageID(LogbookMessageRejected):
|
||||
""" Raised when there is no message with specified ID on the server."""
|
||||
pass
|
||||
|
||||
|
||||
class LogbookInvalidAttachmentType(LogbookMessageRejected):
|
||||
""" Raised when passed attachment has invalid type."""
|
||||
pass
|
||||
Reference in New Issue
Block a user