Exception: Cod::WriteOnlyChannel

Inherits:
StandardError
  • Object
show all
Defined in:
lib/cod.rb

Overview

Indicates that the given channel is write only. This gets raised on operations like #put.

Instance Method Summary collapse

Constructor Details

#initializeWriteOnlyChannel

Returns a new instance of WriteOnlyChannel.



149
150
151
# File 'lib/cod.rb', line 149

def initialize
  super("This channel is write only, attempted read operation.")
end