Add new error class `StatementTimeout` which will be raised when statement timeout exceeded
#31129

kamipo wants to merge kamipo:add_statement_timeout_exception into rails:master

We do not currently have an analysis of these two commits