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

Inherits:
Error
  • Object
show all
Defined in:
lib/packetgen/header/sctp/error.rb,
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

  • LemonTree55

Since:

  • 3.4.0

  • 4.1.0 Derived from Error

Constant Summary

Constants inherited from Error

Error::TYPES

Instance Method Summary collapse

Methods inherited from Error

#error_name, #from_human

Methods included from Padded32

#padded?, #to_s

Instance Method Details

#to_humanString

Get human-readable string

Returns:

  • (String)

Since:

  • 3.4.0

  • 4.1.0 Derived from Error



257
258
259
# File 'lib/packetgen/header/sctp/error.rb', line 257

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