Exception: Webtube::UnexpectedContinuationFrame

Inherits:
ProtocolError
  • Object
show all
Defined in:
lib/webtube.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from ProtocolError

#websocket_close_status_code

Constructor Details

#initialize(message = "a continuation frame arrived but there was no " + "fragmented message pending", frame: nil) ⇒ UnexpectedContinuationFrame

Returns a new instance of UnexpectedContinuationFrame.



962
963
964
965
966
967
968
969
# File 'lib/webtube.rb', line 962

def initialize message =
        "a continuation frame arrived but there was no " +
        "fragmented message pending",
    frame: nil
  super message
  @frame = frame
  return
end

Instance Attribute Details

#frameObject (readonly)

Returns the value of attribute frame.



960
961
962
# File 'lib/webtube.rb', line 960

def frame
  @frame
end