Class: PacketGen::Header::SCTP::ProtocolViolationError

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

Overview

Protocol violation error.

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



339
340
341
# File 'lib/packetgen/header/sctp/error.rb', line 339

def to_human
  "<#{error_name}>"
end