Project

General

Profile

Feature #19059

Updated by ioquatix (Samuel Williams) about 2 years ago

Introduce the following: 

 ```ruby ``` 
 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`. 

Back