mirror of
https://github.com/bec-project/ophyd_devices.git
synced 2025-06-24 19:51:09 +02:00
refactor: add docstrings to errors
This commit is contained in:
@ -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
|
||||
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user