secop/errors: add comments
Change-Id: If03094acd29a8fd437ad9b82a8b332cc5ad8366b Reviewed-on: https://forge.frm2.tum.de/review/17270 Tested-by: JenkinsCodeReview <bjoern_pedersen@frm2.tum.de> Reviewed-by: Enrico Faulhaber <enrico.faulhaber@frm2.tum.de>
This commit is contained in:
parent
b9324876b3
commit
c146f477aa
@ -22,11 +22,13 @@
|
||||
# *****************************************************************************
|
||||
"""error class for our little framework"""
|
||||
|
||||
|
||||
# base class
|
||||
class SECoPServerError(Exception):
|
||||
pass
|
||||
errorclass = 'InternalError'
|
||||
|
||||
|
||||
# those errors should never be seen remotely!
|
||||
# just in case they are, these are flagged as InternalError
|
||||
class ConfigError(SECoPServerError):
|
||||
pass
|
||||
|
||||
@ -35,9 +37,9 @@ class ProgrammingError(SECoPServerError):
|
||||
pass
|
||||
|
||||
|
||||
# for remote operation
|
||||
# to be exported for remote operation
|
||||
class SECoPError(SECoPServerError):
|
||||
errorclass = 'InternalError'
|
||||
pass
|
||||
|
||||
|
||||
class NoSuchModuleError(SECoPError):
|
||||
|
Loading…
x
Reference in New Issue
Block a user