Add new error class `StatementTimeout` which will be raised when statement timeout exceeded by kamipo · Pull Request #31129 · rails/rails

We are sometimes using The MAX_EXECUTION_TIME hint for MySQL depending on the situation. It will prevent catastrophic performance down by wrong performing queries. The new error class StatementTime...