Class: PacketGen::Header::SCTP::UnrecognizedParametersError

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

Overview

Unrecognized parameters error. Returned to the originator of the INIT ACK chunk if the receiver does not recognize one or more Optional TLV parameters in the INIT ACK chunk.

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



255
256
257
# File 'lib/packetgen/header/sctp/error.rb', line 255

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