Class: PacketGen::Header::SCTP::NoValueError

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

Overview

Base class for error without value.

Author:

  • LemonTree55

Since:

  • 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:

  • 4.1.0 Derived from Error



98
99
100
# File 'lib/packetgen/header/sctp/error.rb', line 98

def to_human
  "<#{error_name}>"
end