Exception: PStream::Error::StreamNotFound
- Inherits:
-
PStream::Error
- Object
- RuntimeError
- PStream::Error
- PStream::Error::StreamNotFound
- Defined in:
- lib/pstream/error/stream_not_found.rb
Instance Method Summary collapse
-
#initialize(stream, prot = "tcp") ⇒ StreamNotFound
constructor
A new instance of StreamNotFound.
Constructor Details
#initialize(stream, prot = "tcp") ⇒ StreamNotFound
Returns a new instance of StreamNotFound.
2 3 4 |
# File 'lib/pstream/error/stream_not_found.rb', line 2 def initialize(stream, prot = "tcp") super("Protocol #{prot} does not have stream #{stream}") end |