Class: PacketGen::Header::SCTP::MissingMandatoryParameterError

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

Overview

MissingMandatoryParameter error. Indicate that one or more mandatory TLV parameters are missing in a received InitChunk or InitAckChunk.

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



137
138
139
# File 'lib/packetgen/header/sctp/error.rb', line 137

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