Class: PacketGen::Header::SCTP::RestartAssociationWithNewAddressError

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

Overview

INIT added an address out of association.

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

Since:

  • 3.4.0

  • 4.1.0 Derived from Error



295
296
297
# File 'lib/packetgen/header/sctp/error.rb', line 295

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