lib/socketry/exceptions.rb in socketry-0.3.0 vs lib/socketry/exceptions.rb in socketry-0.4.0
- old
+ new
@@ -8,9 +8,12 @@
ConnectionRefusedError = Class.new(Socketry::Error)
# Invalid address
AddressError = Class.new(Socketry::Error)
+ # Address is already in use
+ AddressInUseError = Class.new(Socketry::Error)
+
# Timeouts performing an I/O operation
TimeoutError = Class.new(Socketry::Error)
# Cannot perform operation in current state
StateError = Class.new(Socketry::Error)