From: "ioquatix (Samuel Williams)" Date: 2022-10-15T03:04:08+00:00 Subject: [ruby-core:110303] [Ruby master Feature#19059] Introduce top level `module TimeoutError` for aggregating various timeout error classes. Issue #19059 has been reported by ioquatix (Samuel Williams). ---------------------------------------- Feature #19059: Introduce top level `module TimeoutError` for aggregating various timeout error classes. https://bugs.ruby-lang.org/issues/19059 * Author: ioquatix (Samuel Williams) * Status: Open * Priority: Normal * Assignee: matz (Yukihiro Matsumoto) ---------------------------------------- Introduce the following: ``` module TimeoutError end IO::TimeoutError.include(TimeoutError) Regexp::TimeoutError.include(TimeoutError) # Maybe? Timeout::Error.include(TimeoutError) ``` It may be easier for users. This was discussed before with the following conclusion: - Top level `TimeoutError` is available. - Using a module for a `TimeoutError` may not be consistent with other top level `class #{thing}Error`. -- https://bugs.ruby-lang.org/ Unsubscribe: