added 3rd party packages, elog, bigtree
This commit is contained in:
32
python37/packages/bigtree/utils/exceptions.py
Normal file
32
python37/packages/bigtree/utils/exceptions.py
Normal file
@@ -0,0 +1,32 @@
|
||||
class TreeError(Exception):
|
||||
pass
|
||||
|
||||
|
||||
class LoopError(TreeError):
|
||||
"""Error during node creation"""
|
||||
|
||||
pass
|
||||
|
||||
|
||||
class CorruptedTreeError(TreeError):
|
||||
"""Error during node creation or tree creation"""
|
||||
|
||||
pass
|
||||
|
||||
|
||||
class DuplicatedNodeError(TreeError):
|
||||
"""Error during tree creation"""
|
||||
|
||||
pass
|
||||
|
||||
|
||||
class NotFoundError(TreeError):
|
||||
"""Error during tree creation or tree search"""
|
||||
|
||||
pass
|
||||
|
||||
|
||||
class SearchError(TreeError):
|
||||
"""Error during tree search"""
|
||||
|
||||
pass
|
||||
Reference in New Issue
Block a user