Exception: Arf::Wire::UnexpectedAssociatedFrameError

Inherits:
WireError
  • Object
show all
Defined in:
lib/arf/wire/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(kind) ⇒ UnexpectedAssociatedFrameError

Returns a new instance of UnexpectedAssociatedFrameError.



29
30
31
32
# File 'lib/arf/wire/errors.rb', line 29

def initialize(kind)
  @kind = kind
  super("Frame #{kind} must not be associated to a stream")
end

Instance Attribute Details

#kindObject (readonly)

Returns the value of attribute kind.



27
28
29
# File 'lib/arf/wire/errors.rb', line 27

def kind
  @kind
end