Exception: Pgtk::Impatient::TooSlow

Inherits:
StandardError
  • Object
show all
Defined in:
lib/pgtk/impatient/too_slow.rb

Overview

Raised by Pgtk::Impatient#exec when the query takes longer than the configured timeout. The deadline is enforced server-side via SET LOCAL statement_timeout, so the underlying PG::QueryCanceled is translated into this error for the caller.

Author

Yegor Bugayenko (yegor256@gmail.com)

Copyright

Copyright © 2019-2026 Yegor Bugayenko

License

MIT