Init Commit: Moved bproto to seperate repo
This commit is contained in:
19
template/python/static/bproto_error.py
Normal file
19
template/python/static/bproto_error.py
Normal file
@@ -0,0 +1,19 @@
|
||||
class bproto_Error(Exception):
|
||||
def __init__(self, message):
|
||||
self.message = message
|
||||
|
||||
|
||||
class bproto_PackageError(bproto_Error):
|
||||
pass
|
||||
|
||||
|
||||
class bproto_PackageErrorInvalidSize(bproto_PackageError):
|
||||
pass
|
||||
|
||||
|
||||
class bproto_PackageErrorInvalidMessageID(bproto_PackageError):
|
||||
pass
|
||||
|
||||
|
||||
class bproto_PackageErrorInvalidCRC(bproto_PackageError):
|
||||
pass
|
||||
Reference in New Issue
Block a user