Describe the feature

I'd like a Plugin or Callback that is called on any error generated when accessing the database.

Motivation

I'm trying to implement an AWS secret manager wrapper to manage password rotation similar to this Java implementation This coupled with a retry could allow regular password rotation in production databases.

Related Issues