def _fdb_error_handler_wrapper(self, func, seq, *args, **kwargs):
try:<EOL><INDENT>out = func(*args, **kwargs)<EOL><DEDENT>except fdb.FDBResourceLimitReached as e:<EOL><INDENT>_logger.error(str(e))<EOL>self.quitting = True<EOL>return None<EOL><DEDENT>except fdb.FDBDataError as e: <EOL><INDENT>_logger.warning(str(e))<EOL>_logger.info(f"<STR_LIT>")<EOL>return None<EOL><DEDENT>if out is None:<EOL><INDENT>self.quitting = True<EOL>return None<EOL><DEDENT>return out<EOL>
Calling the functions in the `fdb` module basically always looks the same:
        catch errors, log them, and return (aliobj, False). Factor that out here.