Exception: TCPClient::NotAnExceptionError
- Inherits:
-
TypeError
- Object
- TypeError
- TCPClient::NotAnExceptionError
- Defined in:
- lib/tcp-client/errors.rb
Overview
Raised when a given timeout exception parameter is not an exception class.
Instance Method Summary collapse
-
#initialize(object) ⇒ NotAnExceptionError
constructor
A new instance of NotAnExceptionError.
Constructor Details
#initialize(object) ⇒ NotAnExceptionError
Returns a new instance of NotAnExceptionError.
47 48 49 |
# File 'lib/tcp-client/errors.rb', line 47 def initialize(object) super("exception class required - #{object.inspect}") end |