refactor: add docstrings to errors

This commit is contained in:
Christian Appel
2023-10-20 14:59:41 +02:00
parent 217c27bfdb
commit 88d3b92b33
3 changed files with 6 additions and 0 deletions

View File

@ -23,10 +23,12 @@ logger = bec_logger.logger
class EigerError(Exception):
'''Base class for exceptions in this module.'''
pass
class EigerTimeoutError(Exception):
'''Raised when the Eiger does not respond in time during unstage.'''
pass

View File

@ -18,10 +18,12 @@ logger = bec_logger.logger
class FalconError(Exception):
'''Base class for exceptions in this module.'''
pass
class FalconTimeoutError(Exception):
'''Raised when the Falcon does not respond in time during unstage.'''
pass

View File

@ -22,10 +22,12 @@ logger = bec_logger.logger
class PilatusError(Exception):
"""Base class for exceptions in this module."""
pass
class PilatusTimeoutError(Exception):
'''Raised when the Pilatus does not respond in time during unstage.'''
pass