Class: PacketGen::Header::SCTP::UnrecognizedChunkTypeError

Inherits:
Object
  • Object
show all
Includes:
ErrorMixin
Defined in:
lib/packetgen/header/sctp/error.rb

Overview

Unrecognized chunk type error. The receiver does not understand the chunk and the upper bits of the ‘Chunk Type’ are set to 01 or 11.

Author:

  • Sylvain Daubert

Since:

  • 3.4.0

Instance Method Summary collapse

Methods included from ErrorMixin

#error_name

Methods included from Padded32

#padded?, #to_s

Instance Method Details

#to_human::String

Returns:

  • (::String)

Since:

  • 3.4.0



218
219
220
# File 'lib/packetgen/header/sctp/error.rb', line 218

def to_human
  "<#{error_name}: #{self[:value].to_human}>"
end